JovianDSS: fix default value in documentation

Fix jovian_block_size default value in documentation
Fix function description

Change-Id: Ib174f4a35911e7cd1a9cc4f2fb52a5555f245477
This commit is contained in:
andrei.perepiolkin 2022-01-17 10:02:18 -05:00
parent 05d397bed1
commit 66fe1c17d9
2 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ def is_snapshot(name):
def idname(name):
"""Convert id into snapshot name"""
"""Convert id into name"""
if name.startswith(('s_', 'v_', 't_')):
return name[2:]

View File

@ -43,7 +43,7 @@ description:
driver_ssl_cert_path = /etc/cinder/jdss.crt
iscsi_target_prefix = iqn.2016-04.com.open-e.cinder:
jovian_pool = Pool-0
jovian_block_size = 128K
jovian_block_size = 64K
san_api_port = 82
target_port = 3260
volume_driver = cinder.volume.drivers.open_e.iscsi.JovianISCSIDriver
@ -80,7 +80,7 @@ description:
- Pool-0
- Pool name that is going to be used. Must be created in [2]
* - ``jovian_block_size``
- 128K
- 64K
- Block size for newly created volumes
* - ``san_api_port``
- 82
@ -134,7 +134,7 @@ For instance if you want to add ``Pool-1`` located on the same host as
driver_ssl_cert_verify = False
iscsi_target_prefix = iqn.2016-04.com.open-e.cinder:
jovian_pool = Pool-0
jovian_block_size = 128K
jovian_block_size = 64K
san_api_port = 82
target_port = 3260
volume_driver = cinder.volume.drivers.open_e.iscsi.JovianISCSIDriver
@ -150,7 +150,7 @@ For instance if you want to add ``Pool-1`` located on the same host as
driver_ssl_cert_verify = False
iscsi_target_prefix = iqn.2016-04.com.open-e.cinder:
jovian_pool = Pool-1
jovian_block_size = 128K
jovian_block_size = 64K
san_api_port = 82
target_port = 3260
volume_driver = cinder.volume.drivers.open_e.iscsi.JovianISCSIDriver
@ -183,7 +183,7 @@ and 192.168.31.100 the configuration file will look like:
driver_ssl_cert_verify = False
iscsi_target_prefix = iqn.2016-04.com.open-e.cinder:
jovian_pool = Pool-0
jovian_block_size = 128K
jovian_block_size = 64K
san_api_port = 82
target_port = 3260
volume_driver = cinder.volume.drivers.open_e.iscsi.JovianISCSIDriver