Shows all IPMI devices
No arguments...
get /ipmi
-
-
-
-
-
-
-
[booting, running, offline, rebooting]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Duration in seconds.
Number of services configured on the server by type.
Number of services currently running on the server by type.
Number of disks currently mounted as OSD.
Number of OSD daemons currently running.
IPs configured on all NICs, only these are valid for the main IP.
-
Duration in seconds.
Duration in seconds.
-
-
Approximate time difference between this server and the management server, negative values indicate the server is behind.
-
-
-
-
-
User-defined notes for this server
[
{
"id": 0,
"ip": "string",
"mac": "string",
"vlan": 0,
"server": {
"id": 0,
"hostname": "string",
"state": "booting",
"mac": "string",
"ip": "string",
"image": "string",
"hardware": {
"ram": ,
"cpu": "string",
"cpus": 0,
"coresPerCpu": 0,
"cpuFreq": ,
"mainboard": "string",
"mainboardSerial": "string",
"ipmi": {
"ip": "string",
"subnet": "string",
"mac": "string",
"vlan": "string"
}
},
"lastSeen": ,
"services": {},
"servicesRunning": {},
"osds": 0,
"osdsRunning": 0,
"ips": [
"string"
],
"health": {
"uptime": ,
"hwDetectTime": ,
"cephDiskProcs": 0,
"runningImage": "string",
"clockDrift":
},
"ipmi": {
"id": 0,
"ip": "string",
"mac": "string",
"vlan": 0
},
"notes": "string"
}
}
]
Polls the state of the given IPMI devices.
-
get /ipmi/poll-state
{}
Remove an IPMI device, it will be re-detected if it still exists
-
delete /ipmi/{id}
Gets the global IPMI configuration
No arguments...
get /ipmi/config
-
{
"password": "string"
}
Sets the global IPMI configuration
-
patch /ipmi/config
-
-
[WAITING, RUNNING, FINISHED, FAILED, CANCELED]
-
-
-
-
-
-
-
{
"name": "string",
"id": 0,
"state": "WAITING",
"result": {},
"done": true,
"statusCode": 0,
"startedAt": 0,
"startedBy": "string",
"object": "string",
"output": "string"
}
Initialize an IPMI device to be used with croit.
-
Optional information for accessing the IPMI device if it uses a non-default password.
post /ipmi/{id}/initialize
-
-
[WAITING, RUNNING, FINISHED, FAILED, CANCELED]
-
-
-
-
-
-
-
{
"name": "string",
"id": 0,
"state": "WAITING",
"result": {},
"done": true,
"statusCode": 0,
"startedAt": 0,
"startedBy": "string",
"object": "string",
"output": "string"
}
Boots a server.
-
post /ipmi/{id}/power-on
Shutdown a server.
-
post /ipmi/{id}/power-off
Reboots a server.
-
post /ipmi/{id}/power-cycle
Reboots a server and opens the BIOS setup menu.
-
post /ipmi/{id}/reboot-to-bios
Turns on the identify LED for 5 minutes.
-
post /ipmi/{id}/identify
Reboots the IPMI management controller itself.
-
post /ipmi/{id}/ipmi-controller-reset