The nova.objects.instance_action Module

class InstanceAction(context=None, **kwargs)

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

VERSION = '1.1'
action
classmethod action_finish(context, *args, **kwargs)
classmethod action_start(context, *args, **kwargs)
created_at
deleted
deleted_at
fields = {'start_time': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'action': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'request_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'message': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'project_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'finish_time': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'user_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'instance_uuid': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
finish(*args, **kwargs)
finish_time
classmethod get_by_request_id(context, *args, **kwargs)
id
instance_uuid
message
static pack_action_finish(context, instance_uuid)
static pack_action_start(context, instance_uuid, action_name)
project_id
request_id
start_time
updated_at
user_id
class InstanceActionEvent(context=None, **kwargs)

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

VERSION = '1.1'
action_id
created_at
deleted
deleted_at
event
classmethod event_finish(context, *args, **kwargs)
classmethod event_finish_with_failure(obj, *args, **kwargs)
classmethod event_start(context, *args, **kwargs)
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'action_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'result': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'start_time': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'traceback': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'event': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'finish_time': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
finish(*args, **kwargs)
finish_time
finish_with_failure(*args, **kwargs)
classmethod get_by_id(context, *args, **kwargs)
id
static pack_action_event_finish(context, instance_uuid, event_name, exc_val=None, exc_tb=None)
static pack_action_event_start(context, instance_uuid, event_name)
result
start_time
traceback
updated_at
class InstanceActionEventList(*args, **kwargs)

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

VERSION = '1.1'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_by_action(context, *args, **kwargs)
objects
class InstanceActionList(*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_by_instance_uuid(context, *args, **kwargs)
objects

Previous topic

The nova.objects.instance Module

Next topic

The nova.objects.instance_fault Module

Project Source

This Page