The nova.objects.vcpu_model Module

class VirtCPUFeature(context=None, **kwargs)

Bases: nova.objects.base.NovaObject

VERSION = '1.0'
fields = {'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'policy': CPUFeaturePolicy(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['force', 'require', 'optional', 'disable', 'forbid'])}
name
obj_load_attr(attrname)
policy
class VirtCPUModel(context=None, **kwargs)

Bases: nova.objects.base.NovaObject

VERSION = '1.0'
arch
features
fields = {'model': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'match': CPUMatch(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['minimum', 'exact', 'strict']), 'features': List(default=[],nullable=False), 'arch': Architecture(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['alpha', 'armv6', 'armv7l', 'armv7b', 'aarch64', 'cris', 'i686', 'ia64', 'lm32', 'm68k', 'microblaze', 'microblazeel', 'mips', 'mipsel', 'mips64', 'mips64el', 'openrisc', 'parisc', 'parisc64', 'ppc', 'ppcle', 'ppc64', 'ppc64le', 'ppcemb', 's390', 's390x', 'sh4', 'sh4eb', 'sparc', 'sparc64', 'unicore32', 'x86_64', 'xtensa', 'xtensaeb']), 'topology': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vendor': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'mode': CPUMode(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['custom', 'host-model', 'host-passthrough'])}
classmethod from_json(jsonstr)
classmethod get_by_instance_uuid(context, *args, **kwargs)
match
mode
model
obj_load_attr(attrname)
to_json()
topology
vendor

Previous topic

The nova.objects.task_log Module

Next topic

The nova.objects.virt_cpu_topology Module

Project Source

This Page