Move QualityOfServiceSpecs to use VersionedObject
Change QualityOfServiceSpecs from a Python dict to using a VersionedObject as part of moving Cinder to support rolling upgrades. These changes also include changes to volume/qos_specs.py: - Removing the unused method get_qos_specs_by_name There will be follow-up patches to transition all instances of qos['key'] to use qos.key and updating volume_types.get_volume_type_extra_specs to use the new VO. Fixing the invalid UUID issues and issues raised by new test cases. Co-Authored-By: Xinli Guan <xinli@us.ibm.com> Change-Id: If15ea8b628a6f88211a5d5cc7aadff44f7840138 Partial-Implements: blueprint cinder-objects
This commit is contained in:
@@ -87,6 +87,8 @@ objects_ignore_messages = [
|
||||
"Module 'cinder.objects' has no 'CGSnapshotList' member",
|
||||
"Module 'cinder.objects' has no 'ConsistencyGroup' member",
|
||||
"Module 'cinder.objects' has no 'ConsistencyGroupList' member",
|
||||
"Module 'cinder.objects' has no 'QualityOfServiceSpecs' member",
|
||||
"Module 'cinder.objects' has no 'QualityOfServiceSpecsList' member",
|
||||
"Module 'cinder.objects' has no 'Service' member",
|
||||
"Module 'cinder.objects' has no 'ServiceList' member",
|
||||
"Module 'cinder.objects' has no 'Snapshot' member",
|
||||
|
||||
Reference in New Issue
Block a user