cinder.objects.fields module

Custom fields for Cinder objects.

class BackupStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('error', 'error_deleting', 'creating', 'available', 'deleting', 'deleted', 'restoring')
AVAILABLE = 'available'
CREATING = 'creating'
DELETED = 'deleted'
DELETING = 'deleting'
ERROR = 'error'
ERROR_DELETING = 'error_deleting'
RESTORING = 'restoring'
class BackupStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.BackupStatus object>
class BaseCinderEnum

Bases: oslo_versionedobjects.fields.Enum

class ConsistencyGroupStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('error', 'available', 'creating', 'deleting', 'deleted', 'updating', 'error_deleting')
AVAILABLE = 'available'
CREATING = 'creating'
DELETED = 'deleted'
DELETING = 'deleting'
ERROR = 'error'
ERROR_DELETING = 'error_deleting'
UPDATING = 'updating'
class ConsistencyGroupStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.ConsistencyGroupStatus object>
class DictOfNullableField(**kwargs)

Bases: oslo_versionedobjects.fields.AutoTypedField

AUTO_TYPE = <oslo_versionedobjects.fields.Dict object>
class GroupSnapshotStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('error', 'available', 'creating', 'deleting', 'deleted', 'updating', 'error_deleting')
AVAILABLE = 'available'
CREATING = 'creating'
DELETED = 'deleted'
DELETING = 'deleting'
ERROR = 'error'
ERROR_DELETING = 'error_deleting'
UPDATING = 'updating'
class GroupSnapshotStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.GroupSnapshotStatus object>
class GroupStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('error', 'available', 'creating', 'deleting', 'deleted', 'updating', 'in-use', 'error_deleting')
AVAILABLE = 'available'
CREATING = 'creating'
DELETED = 'deleted'
DELETING = 'deleting'
ERROR = 'error'
ERROR_DELETING = 'error_deleting'
IN_USE = 'in-use'
UPDATING = 'updating'
class GroupStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.GroupStatus object>
class QoSConsumerField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.QoSConsumerValues object>
class QoSConsumerValues

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('back-end', 'front-end', 'both')
BACK_END = 'back-end'
BOTH = 'both'
FRONT_END = 'front-end'
class ReplicationStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('error', 'enabled', 'disabled', 'not-capable', 'failover-error', 'failing-over', 'failed-over', 'enabling', 'disabling')
DISABLED = 'disabled'
DISABLING = 'disabling'
ENABLED = 'enabled'
ENABLING = 'enabling'
ERROR = 'error'
FAILED_OVER = 'failed-over'
FAILING_OVER = 'failing-over'
FAILOVER_ERROR = 'failover-error'
NOT_CAPABLE = 'not-capable'
class ReplicationStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.ReplicationStatus object>
class SnapshotStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('error', 'available', 'creating', 'deleting', 'deleted', 'updating', 'error_deleting', 'unmanaging', 'backing-up', 'restoring')
AVAILABLE = 'available'
BACKING_UP = 'backing-up'
CREATING = 'creating'
DELETED = 'deleted'
DELETING = 'deleting'
ERROR = 'error'
ERROR_DELETING = 'error_deleting'
RESTORING = 'restoring'
UNMANAGING = 'unmanaging'
UPDATING = 'updating'
class SnapshotStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.SnapshotStatus object>
class VolumeAttachStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('attached', 'attaching', 'detached', 'error_attaching', 'error_detaching', 'reserved', 'deleted')
ATTACHED = 'attached'
ATTACHING = 'attaching'
DELETED = 'deleted'
DETACHED = 'detached'
ERROR_ATTACHING = 'error_attaching'
ERROR_DETACHING = 'error_detaching'
RESERVED = 'reserved'
class VolumeAttachStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.VolumeAttachStatus object>
class VolumeMigrationStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('migrating', 'error', 'success', 'completing', 'none', 'starting')
COMPLETING = 'completing'
ERROR = 'error'
MIGRATING = 'migrating'
NONE = 'none'
STARTING = 'starting'
SUCCESS = 'success'
class VolumeMigrationStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.VolumeStatus object>
class VolumeStatus

Bases: cinder.objects.fields.BaseCinderEnum

ALL = ('creating', 'available', 'deleting', 'error', 'error_deleting', 'error_managing', 'managing', 'attaching', 'in-use', 'detaching', 'maintenance', 'restoring-backup', 'error_restoring', 'reserved', 'awaiting-transfer', 'backing-up', 'error_backing-up', 'error_extending', 'downloading', 'uploading', 'retyping', 'extending')
ATTACHING = 'attaching'
AVAILABLE = 'available'
AWAITING_TRANSFER = 'awaiting-transfer'
BACKING_UP = 'backing-up'
CREATING = 'creating'
DELETING = 'deleting'
DETACHING = 'detaching'
DOWNLOADING = 'downloading'
ERROR = 'error'
ERROR_BACKING_UP = 'error_backing-up'
ERROR_DELETING = 'error_deleting'
ERROR_EXTENDING = 'error_extending'
ERROR_MANAGING = 'error_managing'
ERROR_RESTORING = 'error_restoring'
EXTENDING = 'extending'
IN_USE = 'in-use'
MAINTENANCE = 'maintenance'
MANAGING = 'managing'
RESERVED = 'reserved'
RESTORING_BACKUP = 'restoring-backup'
RETYPING = 'retyping'
UPLOADING = 'uploading'
class VolumeStatusField(**kwargs)

Bases: oslo_versionedobjects.fields.BaseEnumField

AUTO_TYPE = <cinder.objects.fields.VolumeStatus object>