Volume driver for HUAWEI T series and Dorado storage systems.
Bases: cinder.volume.driver.ISCSIDriver
Huawei T series and Dorado iSCSI volume driver.
Try to connect with device and get device type.
Driver entry point to get the export info for a new volume.
Create a snapshot.
Create a new volume.
Create a volume from a snapshot.
We use LUNcopy to create a new LUN from snapshot.
Delete a snapshot.
Delete a volume.
Check config file.
Driver entry point to get the export info for a existing volume.
Get volume status.
If ‘refresh’ is True, run update the stats first.
Map a volume to a host and return target iSCSI information.
Driver entry point to remove an export for a volume.
Delete map between a volume and a host.
Bases: cinder.utils.SSHPool
Define a new class inherited from SSHPool.
This class rewrites method create() and defines a private method ssh_read() which reads results of ssh commands.
Create an SSH client.
Because seting socket timeout to be None will cause client.close() blocking, here we have to rewrite method create() and use default socket timeout value 0.1.
Get results of CLI commands.