openstack.block_storage.v3.manageable_volume

The ManageableVolume Class

The ManageableVolume class inherits from Resource.

class openstack.block_storage.v3.manageable_volume.ManageableVolume(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized – This is not intended to be used directly. See new() and existing().

  • connection – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key = 'manageable-volume'

Singular form of key for resource.

resources_key = 'manageable-volumes'

Plural form of key for resource.

base_path = '/manageable_volumes'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

cinder_id

The ID of this volume in Cinder, if already managed.

extra_info

Additional information about the volume.

reason_not_safe

The reason the volume is not safe to manage, if applicable.

reference

A reference to identify the existing volume on the backend.

safe_to_manage

Whether it is safe to manage this volume.

size

The size of the volume in GiB.