The cinder.volume.drivers.kaminario.kaminario_common Module

Volume driver for Kaminario K2 all-flash arrays.

class KaminarioCinderDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

VENDOR = ‘Kaminario’
after_volume_copy(*args, **kwargs)
check_for_setup_error(*args, **kwargs)
create_cloned_volume(*args, **kwargs)
create_export(context, volume, connector)
create_snapshot(*args, **kwargs)
create_volume(*args, **kwargs)
create_volume_from_snapshot(*args, **kwargs)
delete_snapshot(*args, **kwargs)
delete_volume(*args, **kwargs)
do_setup(*args, **kwargs)
ensure_export(context, volume)
extend_volume(*args, **kwargs)
failover_host(*args, **kwargs)
get_initiator_host_name(connector)

Return the initiator host name.

Valid characters: 0-9, a-z, A-Z, ‘-‘, ‘_’ All other characters are replaced with ‘_’. Total characters in initiator host name: 32

get_policy()

Return the retention policy.

get_rep_name(name)

Return the corresponding replication names.

get_session_name(vid)

Return the volume name.

get_snap_name(sid)

Return the snapshot name.

get_view_name(vid)

Return the view name.

get_volume_group_name(vid)

Return the volume group name.

get_volume_name(vid)

Return the volume name.

get_volume_stats(*args, **kwargs)
initialize_connection(volume, connector)
k2_initialize_connection(*args, **kwargs)
manage_existing(*args, **kwargs)
manage_existing_get_size(*args, **kwargs)
remove_export(context, volume)
retype(*args, **kwargs)
stats = {}
terminate_connection(*args, **kwargs)
update_volume_stats()
class Replication(config, *args, **kwargs)

Bases: object

kaminario_logger(func)

Return a function wrapper.

The wrapper adds log for entry and exit to the function.