self.assertRaises(exception.VolumeBackendAPIException,
self.driver.delete_snapshot, self.snapshot)
- def test_delete_invalid_snapshot_force_delete(self):
- self.driver.configuration.set_override('sio_force_delete',
- override=True)
- self.set_https_response_mode(self.RESPONSE_MODE.Valid)
- self.driver.delete_snapshot(self.snapshot)
-
def test_delete_invalid_snapshot(self):
self.set_https_response_mode(self.RESPONSE_MODE.Valid)
self.driver.delete_snapshot(self.snapshot)
help='REST server port.'),
cfg.BoolOpt('sio_verify_server_certificate',
default=False,
- help='Whether to verify server certificate.'),
+ help='Verify server certificate.'),
cfg.StrOpt('sio_server_certificate_path',
help='Server certificate path.'),
cfg.BoolOpt('sio_round_volume_capacity',
default=True,
- help='Whether to round volume capacity.'),
- cfg.BoolOpt('sio_force_delete',
- default=False,
- help='Whether to allow force delete.'),
+ help='Round up volume capacity.'),
cfg.BoolOpt('sio_unmap_volume_before_deletion',
default=False,
- help='Whether to unmap volume before deletion.'),
+ help='Unmap volume before deletion.'),
cfg.StrOpt('sio_protection_domain_id',
- help='Protection domain id.'),
+ help='Protection Domain ID.'),
cfg.StrOpt('sio_protection_domain_name',
- help='Protection domain name.'),
+ help='Protection Domain name.'),
cfg.StrOpt('sio_storage_pools',
- help='Storage pools.'),
+ help='Storage Pools.'),
cfg.StrOpt('sio_storage_pool_name',
- help='Storage pool name.'),
+ help='Storage Pool name.'),
cfg.StrOpt('sio_storage_pool_id',
- help='Storage pool id.')
+ help='Storage Pool ID.')
]
CONF.register_opts(scaleio_opts)