Bases: object
Common class for Huawei OceanStor storage system.
Activate or deactivate QoS.
enablestatus: true (activate) enbalestatus: false (deactivate)
Add a FC port to the host.
Associate host to hostgroup.
If hostgroup doesn’t exist, create one.
Add lun to QoS.
Associate lun to lungroup.
Send requests to server.
If fail, try another RestURL.
Change lun priority to high.
Change lun smarttier policy.
Check if host exists on the array, or create it.
Create a luncopy.
Remove hostgroup associate from the mapping view.
Delete a LUNcopy.
Remove lungroup associate from the mapping view.
Remove mapping view from the storage.
Remove portgroup associate from the mapping view.
Delete a QoS policy.
Send requests to Huawei storage server.
Send HTTPS call, get response in JSON. Convert response into Python Object and return it.
Add hostgroup and lungroup to mapping view.
“Find available QoS on the array.
Find CHAP info from xml.
Get the given hostgroup id.
Get lungroup from the given map
Find mapping view.
Get the given host ID.
Get target iSCSI params, including iqn, IP.
Get the lun list in QoS.
Get LUNcopy information.
Get lungroup ids by lun id.
Get all objects count associated to the lungroup.
Get online free WWNs.
If no new ports connected, return an empty list.
Get QoS information.
Get QoS id by lun id.
Find target portgroup id by target port group name.
Check whether the initiator is associated to the host.
Check whether the initiator is associated to the host.
Check whether the port group is associated to the mapping view.
Login Huawei storage array.
Logout the session.
Remove CHAP when terminate connection.
Remove lun from lungroup.
Remove lun from QoS.
Start a LUNcopy.