summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2012-01-28 01:17:00 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2012-02-04 11:35:16 -0800
commit94d8553201e50e3e9e25992bfe4735addae4ffda (patch)
tree881809bbeeb441ad70fe6abc139712f9486458a5 /nova/context.py
parent65e233133e801439caaa8265b0de68c70a04ccd2 (diff)
downloadnova-94d8553201e50e3e9e25992bfe4735addae4ffda.tar.gz
nova-94d8553201e50e3e9e25992bfe4735addae4ffda.tar.xz
nova-94d8553201e50e3e9e25992bfe4735addae4ffda.zip
Add initiator to initialize_connection
Some volumes need to know the name of the initiator that will be connecting to the iscsi volume. This adds a call down to the hypervisor driver to get the ip and the initiator name for the vm before calling initialize connection. This connection is passed down to the volume driver so that it can be used to authenticate when the hypervisor tries to connect to the volume. * Adds initiator initialize_connection * Makes a call to driver to get initiator name and ip address * Gets initiator from openiscsi for libvirt * Gets initiator from config for xenapi * Add tests for the driver calls * Fixes bug 924461 Change-Id: I5b6a2dd84560c7f7b447571e0abf0993e5512ca0
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions