The cinder.volume.drivers.zte.zte_ks Module

The cinder.volume.drivers.zte.zte_ks Module

Volume driver for ZTE storage systems.

class ZTEVolumeDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

CI_WIKI_NAME = 'ZTE_cinder2_CI'
VERSION = '1.0.0'
check_for_setup_error()
create_cloned_volume(volume, src_vref)

clone a volume

create_export(context, volume, connector)

Exports the volume

create_snapshot(snapshot)

create a snapshot from volume

create_volume(volume)

Create a new volume.

create_volume_from_snapshot(volume, snapshot)

Create volume from snapshot

delete_snapshot(snapshot)

delete a snapshot volume

delete_volume(volume)

Delete a volume.

do_setup(context)

Any initialization the volume driver does while starting.

ensure_export(context, volume)

Driver entry point to get the export info for a existing volume.

extend_volume(volume, new_size)

extend volume size

get_volume_stats(refresh=False)

Get volume status.

remove_export(context, volume_id)

Driver entry point to remove an export for a volume.

class ZteISCSIDriver(*args, **kwargs)

Bases: cinder.volume.drivers.zte.zte_ks.ZTEVolumeDriver, cinder.volume.driver.ISCSIDriver

Zte iSCSI volume driver.

SUPPORTED = False
WIKI_CI_NAME = 'ZTE_cinder2_CI'
initialize_connection(*args, **kwargs)

Map a volume to a host and return target iSCSI information.

terminate_connection(*args, **kwargs)

Delete map between a volume and a host.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.