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
(*args, **kwargs)¶check_for_setup_error
(*args, **kwargs)¶create_cloned_volume
(*args, **kwargs)¶Create a clone from source volume.
create_export
(context, volume, connector)¶create_snapshot
(*args, **kwargs)¶Create a snapshot from a volume_group.
create_volume
(*args, **kwargs)¶Volume creation in K2 needs a volume group.
create_volume_from_snapshot
(*args, **kwargs)¶Create volume from snapshot.
delete_snapshot
(*args, **kwargs)¶Delete a snapshot.
delete_volume
(*args, **kwargs)¶Volume in K2 exists in a volume group.
do_setup
(*args, **kwargs)¶ensure_export
(context, volume)¶extend_volume
(*args, **kwargs)¶Extend volume.
failover_host
(*args, **kwargs)¶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
(*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)¶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.