cinder.objects.fields module¶
Custom fields for Cinder objects.
- class BackupStatus¶
Bases:
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:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.BackupStatus object>¶
- class BaseCinderEnum¶
Bases:
Enum
- class ConsistencyGroupStatus¶
Bases:
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:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.ConsistencyGroupStatus object>¶
- class DictOfNullableField(**kwargs)¶
Bases:
AutoTypedField
- AUTO_TYPE = <oslo_versionedobjects.fields.Dict object>¶
- class GroupSnapshotStatus¶
Bases:
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:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.GroupSnapshotStatus object>¶
- class GroupStatus¶
Bases:
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:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.GroupStatus object>¶
- class QoSConsumerField(**kwargs)¶
Bases:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.QoSConsumerValues object>¶
- class QoSConsumerValues¶
Bases:
BaseCinderEnum
- ALL = ('back-end', 'front-end', 'both')¶
- BACK_END = 'back-end'¶
- BOTH = 'both'¶
- FRONT_END = 'front-end'¶
- class ReplicationStatus¶
Bases:
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:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.ReplicationStatus object>¶
- class SnapshotStatus¶
Bases:
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:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.SnapshotStatus object>¶
- class VolumeAttachStatus¶
Bases:
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:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.VolumeAttachStatus object>¶
- class VolumeMigrationStatus¶
Bases:
BaseCinderEnum
- ALL = ('migrating', 'error', 'success', 'completing', 'none', 'starting')¶
- COMPLETING = 'completing'¶
- ERROR = 'error'¶
- MIGRATING = 'migrating'¶
- NONE = 'none'¶
- STARTING = 'starting'¶
- SUCCESS = 'success'¶
- class VolumeMigrationStatusField(**kwargs)¶
Bases:
BaseEnumField
- AUTO_TYPE = <cinder.objects.fields.VolumeMigrationStatus object>¶
- class VolumeStatus¶
Bases:
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'¶