class documentation
class NodeHvState(ConfigObject):
Hypvervisor state on a node.
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | cpu |
Number of CPU cores reserved for the node itself |
| Instance Variable | cpu |
Total node CPU core count |
| Instance Variable | mem |
Memory used by hypervisor or lost due to instance allocation rounding |
| Instance Variable | mem |
Memory used by instances living on node |
| Instance Variable | mem |
Memory used by, or reserved for, the node itself (not always available) |
| Instance Variable | mem |
Total amount of memory |
Inherited from ConfigObject:
| Class Method | |
Create an object from a dictionary. |
| Method | __getattr__ |
Undocumented |
| Method | __repr__ |
Implement __repr__ for ConfigObjects. |
| Method | __setstate__ |
Undocumented |
| Method | |
Makes a deep copy of the current object and its children. |
| Method | |
Convert to a dict holding only standard python types. |
| Method | |
Fill defaults for missing configuration values. |
| Method | |
Validates the slots. |
Inherited from ValidatedSlots (via ConfigObject):
| Class Method | |
Compute the list of all declared slots for a class. |
| Method | __init__ |
Constructor for BaseOpCode. |