class documentation
class ConfigData(ConfigObject):
Top-level config object.
Class Method |
|
Custom function for top-level config data |
Method |
|
Check if in there is at disk of the given type in the configuration. |
Method |
|
Custom function for top-level config data. |
Method |
|
Fill defaults for missing configuration values. |
Class Variable | __slots__ |
Undocumented |
Instance Variable | filters |
Undocumented |
Instance Variable | networks |
Undocumented |
Instance Variable | nodegroups |
Undocumented |
Method | _ |
Upgrade the cluster's enabled disk templates by inspecting the currently enabled and/or used disk templates. |
Inherited from ConfigObject
:
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 |
|
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. |
Check if in there is at disk of the given type in the configuration.
Parameters | |
devconstants.DTS_BLOCK | the type to look for |
Returns | |
list of disks | all disks of the dev_type |
overrides
ganeti.objects.ConfigObject.ToDict
Custom function for top-level config data.
This just replaces the list of nodes, instances, nodegroups, networks, disks and the cluster with standard python types.