Base code for plugins support.
Bases: object
Abstract base class for introspection data processing hooks.
Hook to run before any other data processing.
This hook is run even before sanity checks.
Parameters: |
|
---|---|
Returns: | nothing. |
Hook to run before Ironic node update.
This hook is run after node is found and ports are created, just before the node is updated with the data.
Parameters: |
|
---|---|
Returns: | nothing. |
[RFC 6902] - http://tools.ietf.org/html/rfc6902
Bases: ironic_inspector.plugins.base.WithValidation
Abstract base class for rule action plugins.
List of params will be formatted with python format.
Run action on successful rule match.
Parameters: |
|
---|---|
Raises: | utils.Error on failure |
Rollback action effects from previous run on a failed match.
Default implementation does nothing.
Parameters: |
|
---|---|
Raises: | utils.Error on failure |
Bases: ironic_inspector.plugins.base.WithValidation
Abstract base class for rule condition plugins.
Whether this condition accepts None when field is not found.
Check if condition holds for a given field.
Parameters: |
|
---|---|
Raises ValueError: | |
on unacceptable field value |
|
Returns: | True if check succeeded, otherwise False |
Bases: object
Set with names of optional parameters.
Set with names of required parameters.
Validate params passed during creation.
Default implementation checks for presence of fields from REQUIRED_PARAMS and fails for unexpected fields (not from REQUIRED_PARAMS + OPTIONAL_PARAMS).
Parameters: |
|
---|---|
Raises: | ValueError on validation failure |
Create a Stevedore extension manager for processing hooks.
Parameters: | args – arguments to pass to the hooks constructor. |
---|