Add support for extended_snapshot_attributes
* Needed for https://review.openstack.org/#/c/8493/ Change-Id: I5beb2638a48776e04bfd95281da838c5b710ea46
This commit is contained in:
@@ -33,6 +33,14 @@ class Snapshot(base.Resource):
|
|||||||
"""
|
"""
|
||||||
self.manager.delete(self)
|
self.manager.delete(self)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def progress(self):
|
||||||
|
return self._info.get('os-extended-snapshot-attributes:progress')
|
||||||
|
|
||||||
|
@property
|
||||||
|
def project_id(self):
|
||||||
|
return self._info.get('os-extended-snapshot-attributes:project_id')
|
||||||
|
|
||||||
|
|
||||||
class SnapshotManager(base.ManagerWithFind):
|
class SnapshotManager(base.ManagerWithFind):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user