cinder.volume.drivers.kaminario.kaminario_common
Module¶Volume driver for Kaminario K2 all-flash arrays.
KaminarioCinderDriver
(*args, **kwargs)¶Bases: cinder.volume.driver.ISCSIDriver
VENDOR
= 'Kaminario'¶after_volume_copy
(ctxt, volume, new_volume, remote=None)¶check_for_setup_error
()¶create_cloned_volume
(volume, src_vref)¶Create a clone from source volume.
create_export
(context, volume, connector)¶create_snapshot
(snapshot)¶Create a snapshot from a volume_group.
create_volume
(volume)¶Volume creation in K2 needs a volume group.
create_volume_from_snapshot
(volume, snapshot)¶Create volume from snapshot.
delete_snapshot
(snapshot)¶Delete a snapshot.
delete_volume
(volume)¶Volume in K2 exists in a volume group.
do_setup
(context)¶ensure_export
(context, volume)¶extend_volume
(volume, new_size)¶Extend volume.
failover_host
(context, volumes, secondary_id=None, groups=None)¶Failover to replication target.
get_initiator_host_name
(connector)¶Return the initiator host name or unique ID.
Unique ID when configuration’s unique_fqdn_network is false will be the reversed IQN/WWPNS.
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
(refresh=False)¶initialize_connection
(volume, connector)¶k2_initialize_connection
(volume, connector)¶manage_existing
(volume, existing_ref)¶manage_existing_get_size
(volume, existing_ref)¶remove_export
(context, volume)¶retype
(ctxt, volume, new_type, diff, host)¶stats
= {}¶terminate_connection
(volume, connector)¶Terminate connection of volume from host.
update_volume_stats
()¶Replication
(config, *args, **kwargs)¶Bases: object
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.