The ironic_python_agent.extensions.clean
Module¶
-
class
ironic_python_agent.extensions.clean.
CleanExtension
(agent=None)[source]¶ Bases:
ironic_python_agent.extensions.base.BaseAgentExtension
-
execute_clean_step
(**command_params)[source]¶ Execute a clean step.
Parameters: - step – A clean step with ‘step’, ‘priority’ and ‘interface’ keys
- node – A dict representation of a node
- ports – A dict representation of ports attached to node
- clean_version – The clean version as returned by _get_current_clean_version() at the beginning of cleaning/zapping
Returns: a CommandResult object with command_result set to whatever the step returns.
-