"""Enable/Re-enable replication on replciation capable volume.
Admin only method, used primarily for cases like disable/re-enable
- replication proces on a replicated volume for maintenance or testing
+ replication process on a replicated volume for maintenance or testing
"""
context = req.environ['cinder.context']
if not self._is_backup_service_enabled(volume, volume_host):
raise exception.ServiceNotFound(service_id='cinder-backup')
- # do quota reserver before setting volume status and backup status
+ # Reserve a quota before setting volume status and backup status
try:
reserve_opts = {'backups': 1,
'backup_gigabytes': volume['size']}
self.key_mgr.create_key(self.ctxt)
- # assert proper calls occured, including with project_id
+ # assert proper calls occurred, including with project_id
mock_token.assert_called_once_with(
auth_url=CONF.keymgr.encryption_auth_url,
token=self.ctxt.auth_token,
:param supported: True if supported, false otherwise
:param minimum_version: The minimum version that this feature is
- suported at
+ supported at
"""
self.supported = supported
self.minimum_version = minimum_version