The karbor.objects.scheduled_operation_state
Module¶
-
class
karbor.objects.scheduled_operation_state.
ScheduledOperationState
(context=None, **kwargs)¶ Bases:
karbor.objects.base.KarborPersistentObject
,karbor.objects.base.KarborObject
,karbor.objects.base.KarborObjectDictCompat
,karbor.objects.base.KarborComparableObject
-
INSTANCE_OPTIONAL_JOINED_FIELDS
= ['operation']¶
-
VERSION
= '1.0'¶
-
create
(*args, **kwargs)¶
-
created_at
¶
-
deleted
¶
-
deleted_at
¶
-
destroy
(*args, **kwargs)¶
-
end_time_for_run
¶
-
fields
= {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'trust_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'end_time_for_run': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'operation_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'operation': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'service_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}¶
-
classmethod
get_by_operation_id
(context, *args, **kwargs)¶
-
id
¶
-
model
¶ alias of
ScheduledOperationState
-
operation
¶
-
operation_id
¶
-
save
(*args, **kwargs)¶
-
service_id
¶
-
state
¶
-
trust_id
¶
-
updated_at
¶
-
-
class
karbor.objects.scheduled_operation_state.
ScheduledOperationStateList
(*args, **kwargs)¶ Bases:
karbor.objects.base.ObjectListBase
,karbor.objects.base.KarborObject
-
VERSION
= '1.0'¶
-
fields
= {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}¶
-
classmethod
get_by_filters
(context, *args, **kwargs)¶
-
objects
¶
-