Create Expected Rack
Changed onCreate an Expected Rack to pre-register a rack expected to be discovered at a Site. The rackId is an operator-supplied string identifier (not a UUID) that uniquely identifies the rack within the Site.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Alternatively, Tenant Admins with TargetedInstanceCreation capability can also create Expected Racks if they have an account with the Site's Infrastructure Provider.
Chassis identity and physical location information are conveyed via well-known label keys in labels:
- chassis.manufacturer, chassis.serial-number, chassis.model
- location.region, location.datacenter, location.room, location.position
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/expected-rack
- AuthHTTP bearer
Request body
Example request
{
"siteId": "f97df110-f4de-492e-8849-4a6af68026b0",
"rackId": "rack-01",
"name": "Rack 01",
"description": "Production rack in row A",
"labels": {
"chassis.manufacturer": "NVIDIA",
"chassis.serial-number": "NVRK0001001",
"chassis.model": "GB200-NVL72",
"location.region": "us-west-2",
"location.datacenter": "phx-dc01",
"location.room": "room-1",
"location.position": "A1"
}
}Response
Created
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"rackId": "rack-01",
"siteId": "f97df110-f4de-492e-8849-4a6af68026b0",
"rackProfileId": "rp-standard-42u",
"name": "Rack 01",
"description": "Production rack in row A",
"labels": {
"chassis.manufacturer": "NVIDIA",
"chassis.serial-number": "NVRK0001001",
"chassis.model": "GB200-NVL72",
"location.region": "us-west-2",
"location.datacenter": "phx-dc01",
"location.room": "room-1",
"location.position": "A1"
},
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}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 non-success response with the status
- info