The nova.virt.hyperv.volumeops Module

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

class ISCSIVolumeDriver

Bases: object

attach_volume(connection_info, instance_name, ebs_root=False)

Attach a volume to the SCSI controller or to the IDE controller if ebs_root is True

detach_volume(connection_info, instance_name)

Detach a volume to the SCSI controller.

disconnect_volumes(block_device_mapping)
get_mounted_disk_path_from_volume(connection_info)
get_target_from_disk_path(physical_drive_path)
get_target_lun_count(target_iqn)
initialize_volume_connection(connection_info)
login_storage_target(connection_info)
logout_storage_target(target_iqn, disconnected_luns_count=1)
class SMBFSVolumeDriver

Bases: object

attach_volume(inst, connection_info, *args, **kwargs)
detach_volume(connection_info, instance_name)
disconnect_volumes(block_device_mapping)
ensure_share_mounted(connection_info)
get_mounted_disk_path_from_volume(connection_info)
initialize_volume_connection(connection_info)
class VolumeOps

Bases: object

Management class for Volume-related tasks

attach_volume(connection_info, instance_name, ebs_root=False)
attach_volumes(block_device_info, instance_name, ebs_root)
detach_volume(connection_info, instance_name)
disconnect_volumes(block_device_info)
ebs_root_in_block_devices(block_device_info)
fix_instance_volume_disk_paths(instance_name, block_device_info)
get_disk_path_mapping(block_device_info)
get_mounted_disk_path_from_volume(connection_info)
get_volume_connector(instance)
initialize_volumes_connection(block_device_info)
export_path_synchronized(f)

Previous topic

The nova.virt.hyperv.vmops Module

Next topic

The nova.virt.image.model Module

Project Source

This Page