ZFS Storage Appliance Proxy
Bases: object
ZFSSA API proxy class
Add an iSCSI initiator to initiatorgroup
Add an iSCSI target to targetgroup.
clone snapshot.
Create an iSCSI initiator.
Create a LUN. required - pool, project, lun, volsize, targetgroup. optional - volblocksize, sparse, compression, logbias
Create a project on a pool Check first whether the pool exists.
create snapshot.
Create an iSCSI target. interfaces: an array with network interfaces tchapuser, tchapsecret: target’s chapuser and chapsecret returns target iqn
delete iscsi lun.
delete snapshot.
return iscsi lun properties.
Get space available and total properties of a pool returns (avail, total).
Get an iSCSI target iqn.
Checks whether snapshot has clones or not.
Login to the appliance
Set the initiatorgroup property of a LUN.
set lun properties.
Check whether initiator iqn exists.
Checks whether pool exists.
Checks whether project exists.
Check whether target alias exists.