The cinder.volume.drivers.prophetstor.dplcommon Module

Implementation of the class of ProphetStor DPL storage adapter of Federator.
# v2.0.1 Consistency group support # v2.0.2 Pool aware scheduler # v2.0.3 Consistency group modification support # v2.0.4 Port ProphetStor driver to use new driver model
class DPLCOMMONDriver(*args, **kwargs)

Bases: cinder.volume.driver.ConsistencyGroupVD, cinder.volume.driver.ExtendVD, cinder.volume.driver.CloneableImageVD, cinder.volume.driver.SnapshotVD, cinder.volume.driver.LocalVD, cinder.volume.driver.BaseVD

Class of dpl storage adapter.

CI_WIKI_NAME = 'ProphetStor_CI'
VERSION = '2.0.4'
check_for_setup_error()

Check DPL can connect properly.

create_cgsnapshot(context, cgsnapshot, snapshots)

Creates a cgsnapshot.

create_cloned_volume(volume, src_vref)

Creates a clone of the specified volume.

create_consistencygroup(context, group)

Creates a consistencygroup.

create_export(context, volume, connector)
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_cgsnapshot(context, cgsnapshot, snapshots)

Deletes a cgsnapshot.

delete_consistencygroup(context, group, volumes)

Delete a consistency group.

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_consistencygroup(context, group, add_volumes=None, remove_volumes=None)
class DPLCommand(ip, port, username, password)

Bases: object

DPL command interface.

send_cmd(method, url, params, expected_status)

Send command to DPL.

class DPLVolume(dplServer, dplPort, dplUser, dplPassword)

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)

Previous topic

The cinder.volume.drivers.prophetstor.dpl_iscsi Module

Next topic

The cinder.volume.drivers.prophetstor.options Module

This Page