Rack
Validate a Rack
Changed onValidate a Rack's components by comparing expected vs actual state.
Compares the rack's expected component configuration against the actual state. Returns a detailed diff report showing missing, extra, and mismatched components.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
get/v2/org/{org}/nico/rack/{id}/validation
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/rack/{id}/validation
- AuthHTTP bearer
Query parameters
siteIdstring uuid required
ID of the Site
Response
OK
Example response
{
"diffs": [
{
"expected": {
"health": {
"source": "aggregate-host-health",
"observedAt": null,
"successes": [
{
"id": "FanSpeed",
"target": "System Board Fan1A"
},
{
"id": "PowerSupply",
"target": "PS1 Status"
}
],
"alerts": [
{
"id": "FailedValidationTest",
"target": "DcgmFullShort",
"inAlertSince": null,
"message": "Failed validation test",
"tenantMessage": null,
"classifications": [
"PreventAllocations"
]
}
]
}
},
"actual": {
"health": {
"source": "aggregate-host-health",
"observedAt": null,
"successes": [
{
"id": "FanSpeed",
"target": "System Board Fan1A"
},
{
"id": "PowerSupply",
"target": "PS1 Status"
}
],
"alerts": [
{
"id": "FailedValidationTest",
"target": "DcgmFullShort",
"inAlertSince": null,
"message": "Failed validation test",
"tenantMessage": null,
"classifications": [
"PreventAllocations"
]
}
]
}
}
}
]
}Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- info