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’
OPTIONAL_PARAMS = [‘ds8k_host_type’, ‘lss_range_for_cg’]
VALID_REST_VERSION_5_7_MIN = ‘5.7.51.1047’
VALID_REST_VERSION_5_8_MIN = ”
change_lun(lun_id, param)
create_group(group)
create_lun(lun)
create_pprc_pair(pairData)
create_pprc_path(pathData)
delete_flashcopy(src_lun_id, tgt_lun_id)
delete_group(group, src_luns)
delete_group_snapshot(group_snapshot, tgt_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_biggest_pool_and_lss(*args, **kwargs)
find_pool_lss_pair(*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_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()
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’
OPTIONAL_PARAMS = [‘ds8k_host_type’, ‘port_pairs’, ‘ds8k_ssid_prefix’, ‘lss_range_for_cg’]
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.

OPTIONAL_PARAMS = [‘ds8k_host_type’, ‘port_pairs’]
create_lun(lun)
delete_pprc_pair(vol_id)
setup()
filter_alnum(s)