nova/nova/virt
Takashi NATSUME 8d757888a8 Override the 'get' method in DriverBlockDevice class
The following methods are overridden in DriverBlockDevice class.

* __getattr__
* __getitem__

The 'get' method is not overridden.
The value cannot be got by the 'get' method
though the value can be got by '__getattr__' (e.g. bdm.volumd_id)
or '__getitem__' (e.g. bdm['volume_id']) method.
So override the 'get' method to fix the issue.

Conflicts:
    nova/tests/unit/virt/test_block_device.py

    The conflict is due to not including
    Icc301230fe7c8e3ebbbcc7f4a807e562db7f93e3 in rocky.

Change-Id: Ic665fc1956831110937d98553e526cb909e49997
Closes-Bug: #1816938
(cherry picked from commit 3c66b40dbd)
(cherry picked from commit ae40ceba84)
2019-03-26 12:13:56 +09:00
..
disk libvirt: Reduce calls to qemu-img during update_available_resource 2018-08-08 15:22:44 +01:00
hyperv ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Merge "pass endpoint interface to Ironic client" into stable/rocky 2019-03-21 15:59:11 +00:00
libvirt Merge "ironic: check fresh data when sync_power_state doesn't line up" into stable/rocky 2019-03-21 15:59:02 +00:00
powervm ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
vmwareapi ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
xenapi ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
zvm ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py Override the 'get' method in DriverBlockDevice class 2019-03-26 12:13:56 +09:00
configdrive.py Convert configdrive to use processutils. 2018-05-02 21:42:05 +10:00
driver.py ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py Fix overcommit for NUMA-based instances 2019-01-25 12:57:49 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Implement certificate_utils 2018-06-12 14:44:32 -04:00
interfaces.template
netutils.py libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04:00
osinfo.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00