Validate Trays
Changed onValidate Tray components by comparing expected vs actual state.
If no filter is specified, validates all trays in the Site. Use rackId/rackName to scope to a specific rack, and name/manufacturer/type to filter by tray attributes.
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/tray/validation
- AuthHTTP bearer
Query parameters
ID of the Site
Scope to a specific Rack by Rack ID (mutually exclusive with rackName)
Scope to a specific Rack by name (mutually exclusive with rackId)
Filter trays by name
Filter trays by manufacturer
Filter trays by type. When id is specified, the type disambiguates component IDs shared by different component types.
Filter by component ID (mutually exclusive with rackId/rackName; use repeated params for multiple values)
Restrict validation to trays at this rack slot (matches position.slotId). Requires rackId or rackName. Composes with the rest of the filter via AND.
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