module documentation
Transportable objects for Ganeti.
This module provides small, mostly data-only objects which are safe to pass to and from external parties.
| Class | |
Config object representing the status of a block device. |
| Class | |
Config object representing the cluster. |
| Class | |
Object holding a confd reply. |
| Class | |
Object holding a confd request. |
| Class | |
Top-level config object. |
| Class | |
A generic config object. |
| Class | |
Config object representing a block device. |
| Class | |
Config object representing an External Storage Provider. |
| Class | |
Config object representing a filter rule. |
| Class | |
Options for import/export daemon |
| Class | |
Config object representing the status of an import or export. |
| Class | |
Config object representing an instance. |
| Class | |
Object describing how to access the console of an instance. |
| Class | |
Config object representing instance policy limits dictionary. |
| Class | |
Information about an LVM physical volume (PV). |
| Class | |
Network configuration parameters for the master |
| Class | |
Object holding the status of a migration. |
| Class | |
Object representing a network definition for ganeti. |
| Class | NIC |
Config object representing a network card. |
| Class | |
Config object representing a node. |
| Class | |
Disk state on a node. |
| Class | |
Config object representing a node group. |
| Class | |
Hypvervisor state on a node. |
| Class | OS |
Config object representing an operating system. |
| Class | |
Object holding a query field definition. |
| Class | |
Object holding a request for querying available fields. |
| Class | |
Object holding the response to a query for fields. |
| Class | |
Object holding the response to a query. |
| Class | |
Simple wrapper over ConfigParse that allows serialization. |
| Class | |
An generic class supporting tags. |
| Function | |
Basic function to apply settings on top a default dict. |
| Function | |
Fills the disk parameter defaults. |
| Function | |
Fills an instance policy with defaults. |
| Function | |
Gets the OS image value from the OS parameters. |
| Function | |
Create empty IPolicy dictionary. |
| Function | |
Update OS image value in the OS parameters |
| Function | |
Update the be parameters dict to the new format. |
| Function | |
Upgrade the disk parameters. |
| Function | |
Update all groups for the target parameter. |
| Function | |
Upgrade ndparams structure. |
| Class | _ |
No class docstring; 0/1 class variable, 1/1 method, 1/1 class method documented |
| Constant | _TIMESTAMPS |
Undocumented |
| Constant | _UUID |
Undocumented |
Basic function to apply settings on top a default dict.
| Parameters | |
| defaults | dictionary holding the default values |
| custom | dictionary holding customized value |
| skip | which keys not to fill |
| Returns | |
| dict | dict with the 'full' values |
Gets the OS image value from the OS parameters.
| Parameters | |
osparams:dict or NoneType | OS parameters or None |
| Returns | |
| string or NoneType | value of OS image contained in OS parameters, or None if the OS parameters are None or the OS parameters do not contain an OS image |
Update OS image value in the OS parameters
| Parameters | |
osparams:dict | OS parameters |
| os | OS image |
| Returns | |
| NoneType | None |
Upgrade the disk parameters.
| Parameters | |
| diskparams:dict | disk parameters to upgrade |
| Returns | |
| dict | the upgraded disk parameters dict |
Update all groups for the target parameter.
| Parameters | |
| target:dict of dicts | {group: {parameter: value}} |
| defaults:dict | default parameter values |