The cinder.volume.drivers.windows.windows_utils Module

Utility class for Windows Storage Server 2012 volume related operations.

class WindowsUtils(*args, **kwargs)

Bases: object

Executes volume driver commands on Windows Storage server.

add_disk_to_target(vol_name, target_name)

Adds the disk to the target.

associate_initiator_with_iscsi_target(initiator_name, target_name)

Sets information used by the iSCSI target entry.

check_for_setup_error()

Check that the driver is working and can communicate. Invokes the portal and checks that is listening ISCSI traffic.

copy_vhd_disk(source_path, destination_path)

Copy the vhd disk from source path to destination path.

create_iscsi_target(target_name, ensure)

Creates ISCSI target.

create_snapshot(vol_name, snapshot_name)

Driver entry point for creating a snapshot.

create_volume(vhd_path, vol_name, vol_size)

Creates a volume.

create_volume_from_snapshot(vol_name, snap_name)

Driver entry point for exporting snapshots as volumes.

delete_iscsi_target(initiator_name, target_name)

Removes iSCSI targets to hosts.

delete_snapshot(snap_name)

Driver entry point for deleting a snapshot.

delete_volume(vol_name, vhd_path)

Driver entry point for destroying existing volumes.

extend(vol_name, additional_size)

Extend an existing volume.

get_host_information(volume, target_name)

Getting the portal and port information.

remove_iscsi_target(target_name)

Removes ISCSI target.

Previous topic

The cinder.volume.drivers.windows.windows Module

Next topic

The cinder.volume.drivers.xenapi.lib Module

This Page