octavia.volume.drivers package

Subpackages

Submodules

octavia.volume.drivers.cinder_driver module

class VolumeManager[source]

Bases: VolumeBase

Volume implementation of virtual machines via cinder.

create_volume_from_image(image_id)[source]

Create cinder volume

Parameters:

image_id – ID of amphora image

:return volume id

delete_volume(volume_id)[source]

Get glance image from volume

Parameters:

volume_id – ID of amphora boot volume

:return image id

get_image_from_volume(volume_id)[source]

Get glance image from volume

Parameters:

volume_id – ID of amphora boot volume

:return image id

Module contents