Common class for SMI-S based FUJITSU ETERNUS DX volume drivers.
This common class is for FUJITSU ETERNUS DX volume drivers based on SMI-S.
-
class FJDXCommon(prtcl, configuration=None)
Bases: object
Common code that can be used by ISCSI and FC drivers.
-
create_cloned_volume(volume, src_vref)
Creates a clone of the specified volume.
-
create_snapshot(snapshot, volume)
Creates a snapshot.
-
create_volume(volume)
Creates a volume.
-
create_volume_from_snapshot(volume, snapshot)
Creates a volume from a snapshot.
-
delete_snapshot(snapshot, volume)
Deletes a snapshot.
-
delete_volume(volume)
Deletes an volume.
-
extend_volume(volume, new_size)
Extends an existing volume.
-
find_device_number(volume, connector)
-
get_num_volumes_mapped(volume, connector)
-
get_target_portid(connector)
return target_portid
-
initialize_connection(volume, connector)
Initializes the connection and returns connection info.
-
stats = {'volume_backend_name': None, 'free_capacity_gb': 0, 'driver_version': '1.2', 'total_capacity_gb': 0, 'reserved_percentage': 0, 'vendor_name': 'FUJITSU', 'storage_protocol': None}
-
terminate_connection(volume, connector)
Disallow connection from connector.
-
update_volume_stats()
Retrieve stats info.
-
wait_for_sync(conn, syncName)
Given the sync name wait for it to fully synchronize.
:param conn: connection the ecom server
:param syncName: the syncName