Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.09 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.09 KB

IPMI API

A golang ipmitool API for Cluster Factory.


Endpoints

Method Endpoints Description
POST /host/:host/on Power up chassis.
POST /host/:host/off Power down chassis. Does not initiate a clean shutdown of the OS.
POST /host/:host/cycle Power cycle
GET /host/:host/status Show current power status.
POST /host/:host/soft Soft-shutdown of OS via ACPI.
POST /host/:host/reset Hard reset.

:host being the hostname associated to the BMC IP address. Those are defined in a Kubernetes configMap using key-value pairs and set as environment variables within the API.