v1
bmc
bmc os power
Changed onController:
github.com/ubccr/grendel/internal/api.(*Handler).BmcOsPower
Middlewares:
- github.com/go-fuego/fuego.defaultLogger.middleware
- github.com/ubccr/grendel/internal/api.(*Handler).authMiddleware
Change power status of node(s)
post/v1/bmc/power/os
Request
- Base URLhttps://127.0.0.1:8080
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
nodesetstring
Filter by nodeset. Minimum of one query parameter is required
tagsstring
Filter by tags. Minimum of one query parameter is required
Headers
Acceptstring
Request body
Example request
{
"boot_option": "Pxe",
"power_option": "PowerCycle"
}Response
OK
Changes
- info
added the optional property
/to the response with the status (media type: application/json) - info
added the optional property
/to the response with the status (media type: application/xml)
- info
- info
endpoint added
- info