The cinder.volume.drivers.ibm.ibm_storage.ds8k_helper
Module¶
-
class
DS8KCommonHelper
(conf, HTTPConnectorObject=None)¶ Bases:
object
Manage the primary backend, it is common class too.
-
INVALID_STORAGE_VERSION
= '8.0.1'¶
-
VALID_REST_VERSION_5_7_MIN
= '5.7.51.1047'¶
-
VALID_REST_VERSION_5_8_MIN
= ''¶
-
change_lun
(lun_id, param)¶
-
create_group
(ctxt, group)¶
-
create_lun
(lun)¶
-
create_pprc_pair
(pairData)¶
-
create_pprc_path
(pathData)¶
-
delete_flashcopy
(src_lun_id, tgt_lun_id)¶
-
delete_group
(ctxt, group, luns)¶
-
delete_lun
(luns)¶
-
delete_lun_by_id
(lun_id)¶
-
delete_pprc_pair
(vol_id)¶
-
delete_pprc_pair_by_pair_id
(pids)¶
-
delete_pprc_path
(path_id)¶
-
do_failback
(pairData)¶
-
find_available_lss
(*args, **kwargs)¶
-
find_biggest_pool_and_lss
(*args, **kwargs)¶
-
get_all_lss
(fields)¶
-
get_connection_type
()¶
-
get_flashcopy
(vol_id)¶
-
get_lss_in_pprc_paths
()¶
-
get_lun
(lun_id)¶
-
get_lun_number_in_lss
(lss_id)¶
-
get_physical_links
(target_id)¶
-
get_pool
(lss)¶
-
get_pools
(*args, **kwargs)¶
-
get_pprc_pairs
(min_vol_id, max_vol_id)¶
-
get_pprc_path
(path_id)¶
-
get_pprc_paths
(specific_lss=None)¶
-
get_storage_pools
()¶
-
get_systems
()¶
-
get_thin_provision
()¶
-
initialize_connection
(vol_id, connector, **kwargs)¶
-
lun_exists
(lun_id)¶
-
setup
()¶
-
start_flashcopy
(vol_pairs, freeze=False)¶
-
terminate_connection
(vol_id, connector, force, **kwargs)¶
-
unfreeze_lss
(lss_ids)¶
-
update_client
()¶
-
update_group
(ctxt, group, add_volumes, remove_volumes)¶
-
wait_flashcopy_finished
(src_luns, tgt_luns)¶
-
wait_pprc_copy_finished
(vol_ids, state, delete=True)¶
-
-
class
DS8KECKDHelper
(conf, HTTPConnectorObject=None)¶ Bases:
cinder.volume.drivers.ibm.ibm_storage.ds8k_helper.DS8KCommonHelper
Manage ECKD volume.
-
INVALID_STORAGE_VERSION
= '8.0.1'¶
-
MIN_VALID_STORAGE_VERSION
= '8.1'¶
-
VALID_REST_VERSION_5_7_MIN
= '5.7.51.1068'¶
-
VALID_REST_VERSION_5_8_MIN
= '5.8.20.1059'¶
-
create_lun
(lun)¶
-
disable_thin_provision
()¶
-
find_pool_and_lss
(*args, **kwargs)¶
-
initialize_connection
(vol_id, connector, **kwargs)¶
-
setup
()¶
-
terminate_connection
(vol_id, connector, force, **kwargs)¶
-
-
class
DS8KReplicationSourceHelper
(conf, HTTPConnectorObject=None)¶ Bases:
cinder.volume.drivers.ibm.ibm_storage.ds8k_helper.DS8KCommonHelper
Manage source storage for replication.
-
find_pool_and_lss
(*args, **kwargs)¶
-
-
class
DS8KReplicationTargetECKDHelper
(conf, HTTPConnectorObject=None)¶ Bases:
cinder.volume.drivers.ibm.ibm_storage.ds8k_helper.DS8KECKDHelper
,cinder.volume.drivers.ibm.ibm_storage.ds8k_helper.DS8KReplicationTargetHelper
Manage ECKD volume in replication target.
-
create_lun
(lun)¶
-
setup
()¶
-
-
class
DS8KReplicationTargetHelper
(conf, HTTPConnectorObject=None)¶ Bases:
cinder.volume.drivers.ibm.ibm_storage.ds8k_helper.DS8KReplicationSourceHelper
Manage target storage for replication.
-
create_lun
(lun)¶
-
delete_pprc_pair
(vol_id)¶
-
setup
()¶
-
-
filter_alnum
(s)¶