Site
Create Site
Create a Site for the org.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Tenants cannot create Sites.
post/v2/org/{org}/nico/site
Request body
Example request
{
"name": "sjc4",
"description": "Datacenter serving San Jose central region, zone 4",
"serialConsoleHostname": "nico.acme.com",
"location": {
"city": "San Jose",
"state": "CA",
"country": "USA"
},
"contact": {
"email": "johndoe@nvidia.com"
}
}Response
Created
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "San Jose Central 4",
"description": "Datacenter serving the San Jose central region",
"org": "qygdmg8oqik8",
"infrastructureProviderId": "5f2cc306-76e9-4fca-9186-950c9ef9a74e",
"siteControllerVersion": "0.1",
"siteAgentVersion": "0.1",
"registrationToken": "J7KO-89RR-Y7WQ-AD90",
"registrationTokenExpiration": "2019-08-25T12:00:00Z",
"serialConsoleHostname": "sjc.nico.acme.com",
"isSerialConsoleEnabled": true,
"serialConsoleIdleTimeout": 60,
"serialConsoleMaxSessionLength": 3600,
"isSerialConsoleSSHKeysEnabled": true,
"machineStats": {
"total": 15,
"totalByStatus": {
"Initializing": 0,
"Ready": 7,
"Reset": 0,
"Maintenance": 0,
"InUse": 3,
"Error": 5,
"Decommissioned": 0,
"Unknown": 0
},
"totalByHealth": {
"healthy": 12,
"unhealthy": 3
},
"totalByStatusAndHealth": {
"Initializing": {
"healthy": 0,
"unhealthy": 0
},
"Ready": {
"healthy": 5,
"unhealthy": 0
},
"Reset": {
"healthy": 0,
"unhealthy": 0
},
"Maintenance": {
"healthy": 5,
"unhealthy": 0
},
"InUse": {
"healthy": 3,
"unhealthy": 0
},
"Error": {
"healthy": 2,
"unhealthy": 3
},
"Decommissioned": {
"healthy": 0,
"unhealthy": 0
},
"Unknown": {
"healthy": 0,
"unhealthy": 0
}
},
"totalByAllocation": {
"allocatedInUse": 3,
"allocatedNotInUse": 3,
"unallocated": 5
}
},
"gpuStats": [
{
"name": "NVIDIA GB200",
"gpus": 64,
"machines": 16
}
],
"capabilities": {
"nativeNetworking": true,
"networkSecurityGroup": true,
"nvLinkPartition": false,
"flow": false,
"imageBasedOperatingSystem": false
},
"isOnline": false,
"status": "Pending",
"statusHistory": [
{
"status": "Pending",
"message": "Request received, pending processing",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z",
"location": {
"city": "San Jose",
"state": "CA",
"country": "USA"
},
"contact": {
"email": "johndoe@nvidia.com"
}
}