cinder.objects.manageableresources module

cinder.objects.manageableresources module

class ManageableObject

Bases: object

fields = {'cinder_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'extra_info': Dict(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)}
classmethod from_primitives(context, dict_resource)
class ManageableSnapshot(context=None, **kwargs)

Bases: CinderObject, CinderObjectDictCompat, ManageableObject

VERSION = '1.0'
property cinder_id
property extra_info
fields = {'cinder_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'extra_info': Dict(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), 'source_reference': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property reason_not_safe
property reference
property safe_to_manage
property size
property source_reference
class ManageableSnapshotList(*args, **kwargs)

Bases: ObjectListBase, CinderObject

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

Bases: CinderObject, CinderObjectDictCompat, CinderComparableObject, ManageableObject

VERSION = '1.0'
property cinder_id
property extra_info
fields = {'cinder_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'extra_info': Dict(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)}
property reason_not_safe
property reference
property safe_to_manage
property size
class ManageableVolumeList(*args, **kwargs)

Bases: ObjectListBase, CinderObject

VERSION = '1.0'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod from_primitives(context, data)
property objects
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.