The nova.objects.instance_mapping Module

class InstanceMapping(context=None, **kwargs)

Bases: nova.objects.base.NovaTimestampObject, nova.objects.base.NovaObject, oslo_versionedobjects.base.VersionedObjectDictCompat

VERSION = '1.0'
cell_id
create(*args, **kwargs)
created_at
destroy(*args, **kwargs)
fields = {'cell_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': 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), 'project_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'instance_uuid': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_by_instance_uuid(context, *args, **kwargs)
id
instance_uuid
project_id
save(*args, **kwargs)
updated_at
class InstanceMappingList(*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_project_id(context, *args, **kwargs)
objects

Previous topic

The nova.objects.instance_info_cache Module

Next topic

The nova.objects.instance_numa_topology Module

Project Source

This Page