The cinder.volume.drivers.ibm.storwize_svc.ssh Module¶
-
class
CLIResponse(raw, ssh_cmd=None, delim='!', with_header=True)¶ Bases:
objectParse SVC CLI output and generate iterable.
-
static
append_dict(dict_, key, value)¶
-
select(*keys)¶
-
static
-
class
StorwizeSSH(run_ssh)¶ Bases:
objectSSH interface to IBM Storwize family and SVC storage systems.
-
add_chap_secret(secret, host)¶
-
addhostport(host, port_type, port_name)¶
-
addvdiskaccess(vdisk, iogrp)¶
-
addvdiskcopy(vdisk, dest_pool, params)¶
-
chfcmap(fc_map_id, copyrate='50', autodel='on')¶
-
chvdisk(vdisk, params)¶
-
expandvdisksize(vdisk, amount)¶
-
lsfabric(wwpn=None, host=None)¶
-
lsfcconsistgrp(fc_consistgrp)¶
-
lsfcmap(fc_map_id)¶
-
lshost(host=None)¶
-
lshostvdiskmap(host)¶
-
lsiogrp()¶
-
lsiscsiauth()¶
-
lslicense()¶
-
lsmdiskgrp(pool)¶
-
lsnode(node_id=None)¶
-
lsportfc(node_id)¶
-
lsportip()¶
-
lssystem()¶
-
lsvdisk(vdisk)¶ Return vdisk attributes or None if it doesn’t exist.
-
lsvdiskcopy(vdisk, copy_id=None)¶
-
lsvdiskfcmappings(vdisk)¶
-
lsvdiskhostmap(vdisk)¶
-
lsvdisks_from_filter(filter_name, value)¶ Performs an lsvdisk command, filtering the results as specified.
Returns an iterable for all matching vdisks.
-
lsvdisksyncprogress(vdisk, copy_id)¶
-
mkfcconsistgrp(fc_consist_group)¶
-
mkfcmap(source, target, full_copy, consistgrp=None)¶
-
mkhost(host_name, port_type, port_name)¶
-
mkvdisk(name, size, units, pool, opts, params)¶
-
mkvdiskhostmap(host, vdisk, lun, multihostmap)¶ Map vdisk to host.
If vdisk already mapped and multihostmap is True, use the force flag.
-
movevdisk(vdisk, iogrp)¶
-
prestartfcconsistgrp(fc_consist_group)¶
-
prestartfcmap(fc_map_id)¶
-
rmfcconsistgrp(fc_consist_group)¶
-
rmfcmap(fc_map_id)¶
-
rmhost(host)¶
-
rmvdisk(vdisk, force=True)¶
-
rmvdiskaccess(vdisk, iogrp)¶
-
rmvdiskcopy(vdisk, copy_id)¶
-
rmvdiskhostmap(host, vdisk)¶
-
run_ssh_assert_no_output(ssh_cmd)¶ Run an SSH command and assert no output returned.
-
run_ssh_check_created(ssh_cmd)¶ Run an SSH command and return the ID of the created object.
-
run_ssh_info(ssh_cmd, delim='!', with_header=False)¶ Run an SSH command and return parsed output.
-
startfcconsistgrp(fc_consist_group)¶
-
startfcmap(fc_map_id)¶
-
stopfcconsistgrp(fc_consist_group)¶
-
stopfcmap(fc_map_id)¶
-