diff options
author | Dongsheng Yang <dongsheng.yang@easystack.cn> | 2016-03-12 01:03:03 -0500 |
---|---|---|
committer | Dongsheng Yang <dongsheng.yang@easystack.cn> | 2016-03-12 11:24:23 -0500 |
commit | 9685009da2311d871bd90c7705d842dac7e7ed53 (patch) | |
tree | e32dc91312616e01db20b3108e7e53d223437a2e /cinderclient/v2/volumes.py | |
parent | fb175864f93e617da3ceb9d582ad2966e545991c (diff) | |
download | python-cinderclient-9685009da2311d871bd90c7705d842dac7e7ed53.tar.gz |
Cleanup for Replication v2: remove 'replication-promote'
As Replication v2.1 (Cheesecake) was merged in cinder, let's
remove the some remaining replication related code in cinderclient.
Depends-on: If862bcd18515098639f94a8294a8e44e1358c52a
Change-Id: I56dcc4a7f61e739110816a060bb0796476360db6
Diffstat (limited to 'cinderclient/v2/volumes.py')
-rw-r--r-- | cinderclient/v2/volumes.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cinderclient/v2/volumes.py b/cinderclient/v2/volumes.py index bab4796..f1fb193 100644 --- a/cinderclient/v2/volumes.py +++ b/cinderclient/v2/volumes.py @@ -587,10 +587,6 @@ class VolumeManager(base.ManagerWithFind): """Unmanage a volume.""" return self._action('os-unmanage', volume, None) - def promote(self, volume): - """Promote secondary to be primary in relationship.""" - return self._action('os-promote-replica', volume, None) - def reenable(self, volume): """Sync the secondary volume with primary for a relationship.""" return self._action('os-reenable-replica', volume, None) |