Common class for Huawei HVS storage drivers.
Common class for Huawei OceanStor HVS storage system.
Send requests to HVS server.
Send HTTPS call, get response in JSON. Convert response into Python Object and return it.
Clone a new volume from an existing volume.
Create a volume from a snapshot.
We use LUNcopy to copy a new volume from snapshot. The time needed increases as volume size does.
Delete a volume.
Three steps: first, remove associate from lun group. Second, remove associate from qos policy. Third, remove the lun.
Map a volume to a host and return target iSCSI information.
Log in HVS array.
If login failed, the driver will sleep 30’s to avoid frequent connection to the server.
logout the session.
Delete map between a volume and a host.