Update SKU
Changed onUpdate selected mutable fields on a SKU. The Site is determined from the saved SKU record.
Fields omitted from the request retain their current values. If a user updates the components field, the schema version will be updated to the current version (5).
The Org must have an Infrastructure Provider that owns the SKU's Site. The user must have an authorization role with the 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/sku/{skuId}
- AuthHTTP bearer
Request body
Example request
{
"description": "DGX H100 compute node with InfiniBand",
"components": {
"infinibandDevices": [
{
"vendor": "Mellanox Technologies",
"model": "MT2910 Family [ConnectX-7]",
"count": 4,
"inactiveDevices": []
}
]
}
}Response
OK
Example response
{
"id": "lenovo.sr650v2.cpu.1",
"siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
"description": "Lenovo SR650 V2 compute node",
"schemaVersion": 5,
"deviceType": "gpu",
"associatedMachineIds": [
"fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g"
],
"components": {
"cpus": [
{
"vendor": "Intel",
"model": "Xeon Platinum 8480+",
"threadCount": 112,
"count": 2
}
],
"gpus": [
{
"vendor": "NVIDIA",
"model": "H100 SXM5",
"totalMemory": "80GB HBM3",
"count": 8
}
],
"memory": [
{
"capacityMb": 65536,
"memoryType": "DDR5",
"count": 16
}
],
"storage": [
{
"vendor": "Samsung",
"model": "PM9A3",
"capacityMb": 7680000,
"count": 4
}
],
"chassis": {
"vendor": "Supermicro",
"model": "SYS-420GP-TNR"
}
},
"created": "2019-08-24T14:15:22Z"
}Changes
- breaking
the
/request property type changed fromarrayto no type - breaking
added
subschema #2to the/response propertyoneOflist for the response status - breaking
the
/response's property type changed fromarrayto no type for status - info
added
subschema #2to the/request propertyoneOflist
- breaking
- 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