The cinder.objects.manageableresources Module

class ManageableObject

Bases: object

fields = {‘cinder_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘reason_not_safe’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘reference’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘safe_to_manage’: Boolean(default=False,nullable=True), ‘size’: Integer(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘extra_info’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True)}
classmethod from_primitives(context, dict_resource)
class ManageableSnapshot(context=None, **kwargs)

Bases: cinder.objects.base.CinderObject, cinder.objects.base.CinderObjectDictCompat, cinder.objects.manageableresources.ManageableObject

VERSION = ‘1.0’
cinder_id
extra_info
fields = {‘cinder_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘reason_not_safe’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘reference’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘source_reference’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘safe_to_manage’: Boolean(default=False,nullable=True), ‘extra_info’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘size’: Integer(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True)}
reason_not_safe
reference
safe_to_manage
size
source_reference
class ManageableSnapshotList(*args, **kwargs)

Bases: cinder.objects.base.ObjectListBase, cinder.objects.base.CinderObject

VERSION = ‘1.0’
fields = {‘objects’: List(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}
classmethod from_primitives(context, data)
objects
class ManageableVolume(context=None, **kwargs)

Bases: cinder.objects.base.CinderObject, cinder.objects.base.CinderObjectDictCompat, cinder.objects.base.CinderComparableObject, cinder.objects.manageableresources.ManageableObject

VERSION = ‘1.0’
cinder_id
extra_info
fields = {‘cinder_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘reason_not_safe’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘reference’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘safe_to_manage’: Boolean(default=False,nullable=True), ‘extra_info’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘size’: Integer(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True)}
reason_not_safe
reference
safe_to_manage
size
class ManageableVolumeList(*args, **kwargs)

Bases: cinder.objects.base.ObjectListBase, cinder.objects.base.CinderObject

VERSION = ‘1.0’
fields = {‘objects’: List(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}
classmethod from_primitives(context, data)
objects