The cinder.volume.drivers.ibm.ibm_storage.ds8k_replication Module

class MetroMirrorManager(source, target)

Bases: object

Manage metro mirror for replication.

create_pprc_pairs(lun)
create_pprc_path(lss_pair)
delete_pprc_pairs(lun)
do_pprc_failback(luns, backend_id)
do_pprc_failover(luns, backend_id)
find_available_pprc_path(lss=None, excluded_lss=None)

find lss from existed pprc path.

the format of lss_pair returned is as below: {‘source’: (pid, lss), ‘target’: (pid, lss)}

is_target_alive()
switch_source_and_target()
class Replication(source_helper, target_device)

Bases: object

Metro Mirror and Global Mirror will be used by it.

check_connection_type()
create_pprc_pairs(lun)
create_replica(*args, **kwargs)
delete_pprc_pairs(lun)
delete_replica(*args, **kwargs)
do_pprc_failover(luns, backend_id)
enable_replication(*args, **kwargs)
extend_replica(lun, param)
failover_unreplicated_volume(*args, **kwargs)
find_available_lss_pair(*args, **kwargs)
find_new_lss_for_source(*args, **kwargs)
find_new_lss_for_target(*args, **kwargs)
start_pprc_failback(*args, **kwargs)
switch_source_and_target(secondary_id, luns=None)