Changes in ScaleIO configurations options
Removed force_delete as we don't use it anymore. Other aesthetic changes from our doc team. DocImpact Change-Id: Ida9f82b0eaab75882d911f32c79f52660cef3265
This commit is contained in:
parent
0f5e61bf6e
commit
c20f09d80c
cinder
releasenotes/notes
@ -81,12 +81,6 @@ class TestDeleteSnapShot(scaleio.TestScaleIODriver):
|
||||
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)
|
||||
|
@ -48,28 +48,25 @@ scaleio_opts = [
|
||||
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)
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
upgrade:
|
||||
- removed force_delete option from ScaleIO configuration.
|
Loading…
x
Reference in New Issue
Block a user