The cinder.volume.drivers.nec.cli Module

The cinder.volume.drivers.nec.cli Module

class MStorageISMCLI(properties)

Bases: object

SSH client.

addldset_fc(ldsetname, connector)

Create new FC LD Set.

addldset_iscsi(ldsetname, connector)

Create new iSCSI LD Set.

addldsetld(ldset, ldname, lun=None)

Add an LD to specified LD Set.

backup_restore(volume_properties, unpairWait, canPairing=True)
changeldname(ldn, new_name, old_name=None)

Rename nickname of LD.

check_ld_existed_rplstatus(lds, ldname, snapshot, flag)
cvbind(poolnumber, cvnumber)

Create Control Volume.

delldsetld(ldset, ldname)

Delete an LD from specified LD Set.

expand(ldn, capacity)

Expand a LD.

get_bvname(svname)
get_pair_lds(ldname, lds)
ldbind(name, pool, ldn, size)

Bind an LD and attach a nickname to it.

lvbind(bvname, lvname, lvnumber)

Link Volume create.

Link to snapshot volume.

lvunbind(lvname)

Link Volume delete.

Unlink from snapshot volume.

query_BV_SV_status(bvname, svname)
query_MV_RV_diff(ldname, rpltype)
query_MV_RV_name(ldname, rpltype)
query_MV_RV_status(ldname, rpltype)
replicate(mvname, rvname, flag)
separate(mvname, rvname, flag)

Separate for backup.

set_io_limit(ldname, specs, force_delete=True)
setpair(mvname, rvname)

Set pair.

snapshot_create(bvname, svname, poolnumber)

Snapshot create.

snapshot_delete(bvname, svname)

Snapshot delete.

unbind(name)

Unbind an LD.

unpair(mvname, rvname, flag)

Unset pair.

view_all(conf_ismview_path=None, delete_ismview=True, cmd_lock=True)
class UnpairWait(volume_properties, cli)

Bases: object

run()
class UnpairWaitForBackup(volume_properties, cli)

Bases: cinder.volume.drivers.nec.cli.UnpairWait

class UnpairWaitForClone(volume_properties, cli)

Bases: cinder.volume.drivers.nec.cli.UnpairWait

class UnpairWaitForDDRBackup(volume_properties, cli)

Bases: cinder.volume.drivers.nec.cli.UnpairWaitForBackup

class UnpairWaitForDDRRestore(volume_properties, cli)

Bases: cinder.volume.drivers.nec.cli.UnpairWaitForRestore

class UnpairWaitForMigrate(volume_properties, cli)

Bases: cinder.volume.drivers.nec.cli.UnpairWait

class UnpairWaitForRestore(volume_properties, cli)

Bases: cinder.volume.drivers.nec.cli.UnpairWait

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.