Previous topic

The cinder.volume.drivers.storwize_svc Module

Next topic

The cinder.volume.drivers.xenapi.lib Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.volume.drivers.windows Module

Volume driver for Windows Server 2012

This driver requires ISCSI target role installed

class WindowsDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

Executes volume driver commands on Windows Storage server.

check_for_setup_error()

Check that the driver is working and can communicate.

copy_image_to_volume(context, volume, image_service, image_id)

Fetch the image from image_service and write it to the volume.

copy_volume_to_image(context, volume, image_service, image_meta)

Copy the volume to the specified image.

create_export(context, volume)

Driver entry point to get the export info for a new volume.

create_snapshot(snapshot)

Driver entry point for creating a snapshot.

create_volume(volume)

Driver entry point for creating a new volume.

create_volume_from_snapshot(volume, snapshot)

Driver entry point for exporting snapshots as volumes.

delete_snapshot(snapshot)

Driver entry point for deleting a snapshot.

delete_volume(volume)

Driver entry point for destroying existing volumes.

do_setup(context)

Setup the Windows Volume driver.

Called one time by the manager after the driver is loaded. Validate the flags we care about

ensure_export(context, volume)

Driver entry point to get the export info for an existing volume.

initialize_connection(volume, connector)

Driver entry point to attach a volume to an instance.

remove_export(context, volume)

Driver exntry point to remove an export for a volume.

terminate_connection(volume, connector, **kwargs)

Driver entry point to unattach a volume from an instance.

Unmask the LUN on the storage system so the given intiator can no longer access it.