ironic_python_agent.extensions.clean.
CleanExtension
(agent=None)[source]¶Bases: ironic_python_agent.extensions.base.BaseAgentExtension
execute_clean_step
(step, node, ports, clean_version=None, **kwargs)[source]¶Execute a clean step.
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 hardware.get_current_versions() at the beginning of cleaning/zapping
a CommandResult object with command_result set to whatever the step returns.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.