The nova.virt.vmwareapi.volumeops Module

Management class for Storage-related functions (attach, detach, etc).

class VMwareVolumeOps(session, cluster_name=None)

Bases: object

Management class for Volume-related tasks

attach_disk_to_vm(vm_ref, instance_name, adapter_type, disk_type, vmdk_path=None, disk_size=None, linked_clone=False, controller_key=None, unit_number=None, device_name=None)

Attach disk to VM by reconfiguration.

attach_volume(connection_info, instance, mountpoint)

Attach volume storage to VM instance.

detach_disk_from_vm(vm_ref, instance_name, device)

Detach disk from VM by reconfiguration.

detach_volume(connection_info, instance, mountpoint)

Detach volume storage to VM instance.

discover_st(data)

Discover iSCSI targets.

get_volume_connector(instance)

Return volume connector information.

Previous topic

The nova.virt.vmwareapi.volume_util Module

Next topic

The nova.virt.xenapi.agent Module

This Page