The nova.compute.resources.vcpu Module

class VCPU

Bases: nova.compute.resources.base.Resource

VCPU compute resource plugin.

This is effectively a simple counter based on the vcpu requirement of each instance.

add_instance(usage)
remove_instance(usage)
report_free()
reset(resources, driver)
test(usage, limits)
write(resources)

Previous topic

The nova.compute.resources.base Module

Next topic

The nova.compute.rpcapi Module

Project Source

This Page