tools.ipmi_tools module

IPMI / BMC control via the system ipmitool binary.

Uses -I lanplus over the network. Requires ipmitool installed on the bot host.

Security: requires UNSANDBOXED_EXEC — bare-metal power and sensor access.

Commands are built as argv lists (no shell) to avoid injection.

async tools.ipmi_tools.run(host, user, password, action, ctx=None)[source]

Run ipmitool and return JSON with stdout/stderr and exit code.

Return type:

str

Parameters: