Power control an NVLink Domain
Power control an NVLink Domain identified by its case-sensitive ID.
Supported power states: On, Off, Cycle, ForceOff, ForceCycle, ACPowerCycle.
Exact lowercase forms remain accepted for compatibility. ACPowerCycle removes and restores AC power and is unsupported on Viking systems.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Authentication
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
Path parameters
Request
Power control state to apply:
On: Power on the target(s)Off: Graceful power offCycle: Graceful power cycle (restart)ForceOff: Forced power off (immediate)ForceCycle: Forced power cycle (immediate restart)ACPowerCycle: Remove and restore AC power (unsupported on Viking systems)
Exact lowercase forms are also accepted for compatibility.
When true, proceed even if one or more target components (or hosts on the owning rack for rack-scoped components) are reported as not ready by their persisted status. Intended for operator-supervised maintenance.
Response
List of task IDs created for the power control operation (one per rack)