module documentation
Verification helpers for the configuration object.
Function |
|
Verifies that a configuration dict looks valid. |
Function |
|
Checks if an ipolicy has correct form. |
Function |
|
Checks if an ispec has correct form. |
Function |
|
Checks if a NIC has correct form. |
Function |
|
Checks if an attribute has correct form. |
Verifies that a configuration dict looks valid.
This only verifies the version of the configuration.
Raises | |
errors.ConfigurationError | if the version differs from what we expect |
Checks if an ipolicy has correct form.
Parameters | |
owner:str | name of the object containing the attribute |
ipolicy:dict | actual value of the ipolicy parameters |
iscluster:bool | True iff the owner is the cluster |
callback:callable | will be called if there is an error |
Checks if an ispec has correct form.
Parameters | |
owner:str | name of the object containing the attribute |
parentkey:str | the root name of the key |
params:dict | actual value of the ispec parameters |
callback:callable | will be called if there is an error |
Checks if a NIC has correct form.
Parameters | |
owner:str | name of the object containing the attribute |
params:dict | actual value of the NIC parameters |
callback:callable | will be called if there is an error |