Fixes get_vm_storage_paths issue for Hyper-V V2 API
Add get_vm_storage_paths function to vmutilsv2.py
get_vm_storage_paths implementation on Hyper-V V2 API changed
compared to previous V1 API. In previous V1 APIs, using
Msvm_ResourceAllocationSettingData class can get storage
paths, but in V2 API, only using Msvm_StorageAllocationSettingData
class can get the storage paths.
Reviewed: https:/ /review. openstack. org/55501 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=6847a0ef927 929e631e9c6db2e 2812528ca93151
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6847a0ef927929e 631e9c6db2e2812 528ca93151
Author: jufeng <email address hidden>
Date: Thu Nov 7 14:12:36 2013 +0800
Fixes get_vm_ storage_ paths issue for Hyper-V V2 API
Add get_vm_ storage_ paths function to vmutilsv2.py
get_ vm_storage_ paths implementation on Hyper-V V2 API changed ResourceAllocat ionSettingData class can get storage ocationSettingD ata
compared to previous V1 API. In previous V1 APIs, using
Msvm_
paths, but in V2 API, only using Msvm_StorageAll
class can get the storage paths.
Closes-Bug: #1248463
Change-Id: Ica73221524f162 a6ffcd9dc64ee33 c85fb5ad31d