nova/nova/virt
Nikola Dipanov b6733dbdf3 virt: add get_device_name_for_instance to the base driver class
Just as libvirt needs to decide on the device names when booting an
instance (as opposed to them being assigned by the user), the same needs
to be done when attaching additional volumes to a running instance.

This patch exposes it on the ComputeDriver base class and makes sure
that it will be called by the compute manager (and that an appropriate
fallback will happen if the drivers do not care about overriding this),
as a pre-req for doing the work in the libvirt driver.

Partial-bug: 1452224
Related-bug: 1231874

Change-Id: I66693a8a6a632b65f930a58905336397ac6c9f29
2015-07-06 11:30:17 +01:00
..
disk virt: convert disk API over to use nova.virt.image.model 2015-06-12 09:59:00 +01:00
hyperv Merge "Support flavor object in migrate_disk_and_power_off" 2015-07-03 10:41:26 +00:00
image virt: introduce model for describing local image metadata 2015-06-04 13:46:59 +01:00
ironic Merge "Ironic: Parse and validate Node's properties" 2015-06-09 20:15:23 +00:00
libvirt Merge "Support flavor object in migrate_disk_and_power_off" 2015-07-03 10:41:26 +00:00
vmwareapi Merge "Support flavor object in migrate_disk_and_power_off" 2015-07-03 10:41:26 +00:00
xenapi Merge "Support flavor object in migrate_disk_and_power_off" 2015-07-03 10:41:26 +00:00
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
block_device.py virt: Move building the block_device_info dict into a method 2015-06-09 11:08:33 +01:00
configdrive.py Fix typos detected by toolkit misspellings. 2015-06-26 15:21:34 +08:00
diagnostics.py Diagnostics: add validation for types 2014-08-05 01:49:17 -07:00
driver.py virt: add get_device_name_for_instance to the base driver class 2015-07-06 11:30:17 +01:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py Drop L from literal integer numbers for Python 3 2015-05-11 11:15:33 +02:00
firewall.py Switch nova.virt.* to use the object dot notation 2015-03-03 08:08:16 -05:00
hardware.py virt: update doctrings 2015-06-26 07:42:35 -07:00
imagecache.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
images.py Merge "virt: Fix images test interaction" 2015-03-04 01:24:45 +00:00
interfaces.template Fixes interfaces template identification issue 2014-12-07 17:52:34 +02:00
netutils.py Merge "Don't ignore template argument in get_injected_network_template" 2015-06-01 21:49:30 +00:00
opts.py Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
storage_users.py Use oslo.log 2015-02-22 07:56:40 -05:00
virtapi.py Deprecate and remove agent_build_get_by_triple() 2014-06-25 07:18:19 -07:00
volumeutils.py Cache empty results in libvirt get_volume_connector 2014-12-30 20:59:52 +01:00
watchdog_actions.py Add watchdog device support to libvirt driver 2014-03-03 14:59:58 -05:00