ironic_python_agent.extensions.deploy module¶
- class ironic_python_agent.extensions.deploy.DeployExtension(agent=None)[source]¶
- Bases: - BaseAgentExtension- execute_deploy_step(step, node, ports, deploy_version=None, **kwargs)[source]¶
- Execute a deploy step. - Parameters:
- step – A deploy step with ‘step’, ‘priority’ and ‘interface’ keys 
- node – A dict representation of a node 
- ports – A dict representation of ports attached to node 
- deploy_version – The deploy version as returned by hardware.get_current_versions() at the beginning of deploying. 
- kwargs – The remaining arguments are passed to the step. 
 
- Returns:
- a CommandResult object with command_result set to whatever the step returns. 
 
 
