The karbor.objects.operation_log
Module¶
-
class
karbor.objects.operation_log.
OperationLog
(context=None, **kwargs)¶ Bases:
karbor.objects.base.KarborPersistentObject
,karbor.objects.base.KarborObject
,karbor.objects.base.KarborObjectDictCompat
,karbor.objects.base.KarborComparableObject
-
VERSION
= ‘1.0’¶
-
create
(*args, **kwargs)¶
-
created_at
¶
-
deleted
¶
-
deleted_at
¶
-
destroy
(*args, **kwargs)¶
-
ended_at
¶
-
entries
¶
-
error
¶
-
fields
= {‘id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘project_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘updated_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘ended_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘error’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘state’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘deleted_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘started_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘created_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘entries’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘deleted’: Boolean(default=False,nullable=False), ‘scheduled_operation_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}¶
-
id
¶
-
model
¶ alias of
OperationLog
-
project_id
¶
-
save
(*args, **kwargs)¶
-
scheduled_operation_id
¶
-
started_at
¶
-
state
¶
-
updated_at
¶
-
-
class
karbor.objects.operation_log.
OperationLogList
(*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_all
(context, *args, **kwargs)¶
-
classmethod
get_all_by_project
(context, *args, **kwargs)¶
-
objects
¶
-