Validate Racks
Changed onValidate Rack components by comparing expected vs actual state.
If no filter is specified, validates all racks in the Site. Filters can narrow the scope to specific racks by name or manufacturer.
Compares the 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.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/rack/validation
- AuthHTTP bearer
Query parameters
ID of the Site
Filter racks by name
Filter racks by manufacturer
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