The ironic_python_agent.api.controllers.v1.status Module

class ironic_python_agent.api.controllers.v1.status.AgentStatus(**kw)[source]

Bases: ironic_python_agent.api.controllers.v1.base.APIBase

An object representing an agent instance’s status.

classmethod from_agent_status(status)[source]

Convert an object representing agent status to an AgentStatus.

Parameters:status – An ironic_python_agent.agent. IronicPythonAgentStatus object.
Returns:An ironic_python_agent.api.controllers.v1.status. AgentStatus object.
class ironic_python_agent.api.controllers.v1.status.StatusController[source]

Bases: pecan.rest.RestController

Controller for getting agent status.

get_all(*args, **kwargs)[source]

Get current status of the running agent.

Previous topic

The ironic_python_agent.api.controllers.v1.link Module

Next topic

The ironic_python_agent.cmd.agent Module

Project Source

This Page