The nova.objects.instance_info_cache Module

class InstanceInfoCache(context=None, **kwargs)

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

VERSION = '1.5'
created_at
delete(*args, **kwargs)
deleted
deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'network_info': NetworkModel(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=False)}
classmethod get_by_instance_uuid(context, *args, **kwargs)
instance_uuid
network_info
classmethod new(context, instance_uuid)

Create an InfoCache object that can be used to create the DB entry for the first time.

When save()ing this object, the info_cache_update() DB call will properly handle creating it if it doesn’t exist already.

refresh(*args, **kwargs)
save(*args, **kwargs)
updated_at

Previous topic

The nova.objects.instance_group Module

Next topic

The nova.objects.instance_mapping Module

Project Source

This Page