The nova.objects.task_log Module

class TaskLog(context=None, **kwargs)

Bases: nova.objects.base.NovaPersistentObject, nova.objects.base.NovaObject

VERSION = '1.0'
begin_task(*args, **kwargs)
created_at
deleted
deleted_at
end_task(*args, **kwargs)
errors
fields = {'state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'period_beginning': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'task_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'period_ending': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'message': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'errors': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'task_items': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get(obj, *args, **kwargs)
host
id
message
period_beginning
period_ending
state
task_items
task_name
updated_at
class TaskLogList(*args, **kwargs)

Bases: nova.objects.base.ObjectListBase, nova.objects.base.NovaObject

VERSION = '1.0'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_all(obj, *args, **kwargs)
objects

Previous topic

The nova.objects.tag Module

Next topic

The nova.objects.vcpu_model Module

Project Source

This Page