cinder.volume.drivers.prophetstor.dplcommon Modulecinder.volume.drivers.prophetstor.dplcommon Module¶DPLCOMMONDriver(*args, **kwargs)¶Bases: cinder.volume.driver.CloneableImageVD, cinder.volume.driver.BaseVD
Class of dpl storage adapter.
CI_WIKI_NAME = ‘ProphetStor_CI’¶VERSION = ‘2.0.5’¶check_for_setup_error()¶Check DPL can connect properly.
create_cloned_volume(volume, src_vref)¶Creates a clone of the specified volume.
create_export(context, volume, connector)¶create_group(context, group)¶create_group_from_src(context, group, volumes, group_snapshot=None, snapshots=None, source_group=None, source_vols=None)¶create_group_snapshot(context, group_snapshot, snapshots)¶create_snapshot(snapshot)¶Creates a snapshot.
create_volume(volume)¶Create a volume.
create_volume_from_snapshot(volume, snapshot)¶Creates a volume from a snapshot.
delete_group(context, group, volumes)¶delete_group_snapshot(context, group_snapshot, snapshots)¶delete_snapshot(snapshot)¶Deletes a snapshot.
delete_volume(volume)¶Deletes a volume.
do_setup(context)¶Any initialization the volume driver does while starting.
ensure_export(context, volume)¶extend_volume(volume, new_size)¶get_volume_stats(refresh=False)¶Get volume stats.
If ‘refresh’ is True, run update the stats first.
remove_export(context, volume)¶spawn_volume_from_snapshot(volume, snapshot)¶Spawn a REFERENCED volume from a snapshot.
update_group(context, group, add_volumes=None, remove_volumes=None)¶DPLCommand(ip, port, username, password, cert_verify=False, cert_path=None)¶Bases: object
DPL command interface.
send_cmd(method, url, params, expected_status)¶Send command to DPL.
DPLVolume(dplServer, dplPort, dplUser, dplPassword, cert_verify=False, cert_path=None)¶Bases: object
assign_vdev(vdevid, iqn, lunname, portal, lunid=0)¶assign_vdev_fc(vdevid, targetwwpn, initiatorwwpn, lunname, lunid=-1)¶clone_vdev(SourceVolumeID, NewVolumeID, poolID, volumeName, volumeDesc, volumeSize, fthinprovision=True, maximum_snapshot=1024, snapshot_quota=None)¶create_target(targetID, protocol, displayName, targetAddress, description=”)¶create_vdev(volumeID, volumeName, volumeDesc, poolID, volumeSize, fthinprovision=True, maximum_snapshot=1024, snapshot_quota=None)¶create_vdev_from_snapshot(vdevID, vdevDisplayName, vdevDesc, snapshotID, poolID, fthinprovision=True, maximum_snapshot=1024, snapshot_quota=None)¶create_vdev_snapshot(vdevid, snapshotid, snapshotname=”, snapshotdes=”, isgroup=False)¶create_vg(groupID, groupName, groupDesc=”, listVolume=None, maxSnapshots=1024, rotationSnapshot=True)¶delete_target(targetID)¶delete_vdev(volumeID, force=True)¶delete_vdev_snapshot(objID, snapshotID, isGroup=False)¶delete_vg(groupID, force=True)¶extend_vdev(volumeID, volumeName, volumeDesc, volumeSize, maximum_snapshot=1024, snapshot_quota=None)¶get_pool(poolid)¶get_pool_status(poolid, eventid)¶get_pools()¶get_server_info()¶get_sns_table(wwpn)¶get_target(targetID)¶get_target_list(type=’target’)¶get_vdev(vdevid)¶get_vdev_status(vdevid, eventid)¶get_vg(groupID)¶get_vg_list(vgtype=None)¶join_vg(volumeID, groupID)¶leave_vg(volumeID, groupID)¶list_vdev_snapshots(vdevid, isGroup=False)¶query_vdev_snapshot(vdevid, snapshotID, isGroup=False)¶rollback_vdev(vdevid, snapshotid)¶spawn_vdev_from_snapshot(new_vol_id, src_vol_id, vol_display_name, description, snap_id)¶unassign_vdev(vdevid, initiatorIqn, targetIqn=”)¶unassign_vdev_fc(vdevid, targetwwpn, initiatorwwpns)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.