The 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’¶
-