The nova.objects.pci_device_pool Module

class PciDevicePool(context=None, **kwargs)

Bases: nova.objects.base.NovaObject

VERSION = '1.1'
count
fields = {'product_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'tags': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vendor_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'numa_node': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'count': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod from_dict(value)
numa_node
obj_make_compatible(primitive, target_version)
product_id
tags
to_dict()
vendor_id
class PciDevicePoolList(*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)}
objects
from_pci_stats(pci_stats)

Create and return a PciDevicePoolList from the data stored in the db, which can be either the serialized object, or, prior to the creation of the device pool objects, a simple dict or a list of such dicts.

Previous topic

The nova.objects.pci_device Module

Next topic

The nova.objects.quotas Module

Project Source

This Page