The nova.objects.instance_pci_requests Module

class InstancePCIRequest(context=None, **kwargs)

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

VERSION = '1.1'
alias_name
count
fields = {'count': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'alias_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'spec': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'request_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'is_new': Boolean(default=False,nullable=False)}
is_new
new
obj_load_attr(attr)
obj_make_compatible(primitive, target_version)
request_id
spec
class InstancePCIRequests(context=None, **kwargs)

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

VERSION = '1.1'
fields = {'instance_uuid': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'requests': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod from_request_spec_instance_props(pci_requests)
classmethod get_by_instance(context, instance)
classmethod get_by_instance_uuid(context, *args, **kwargs)
classmethod get_by_instance_uuid_and_newness(context, instance_uuid, is_new)
instance_uuid
classmethod obj_from_db(context, instance_uuid, db_requests)
obj_make_compatible(primitive, target_version)
obj_relationships = {'requests': [('1.0', '1.0'), ('1.1', '1.1')]}
requests
to_json()

Previous topic

The nova.objects.instance_numa_topology Module

Next topic

The nova.objects.keypair Module

Project Source

This Page