Update Expected Switch
Update an existing Expected Switch by ID.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Infrastructure Provider must own the Expected Switch.
Alternatively, Tenant Admins with TargetedInstanceCreation capability can also update Expected Switches if they have an account with the Site's Infrastructure Provider.
Request body
Example request
{
"defaultBmcUsername": "newadmin",
"defaultBmcPassword": "newpassword123",
"switchSerialNumber": "SWITCH-54321",
"nvOsUsername": "newnvadmin",
"nvOsPassword": "newnvpassword123",
"nvosMacAddresses": [
"00:1A:2B:3C:4D:62",
"00:1A:2B:3C:4D:63"
],
"rackId": "rack-02",
"manufacturer": "NVIDIA",
"labels": {
"environment": "staging",
"rack": "B2"
}
}Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"siteId": "f97df110-f4de-492e-8849-4a6af68026b0",
"bmcMacAddress": "00:1A:2B:3C:4D:5E",
"bmcIpAddress": "192.168.1.100",
"switchSerialNumber": "SWITCH-12345",
"nvosMacAddresses": [
"00:1A:2B:3C:4D:60",
"00:1A:2B:3C:4D:61"
],
"rackId": "rack-01",
"manufacturer": "NVIDIA",
"labels": {
"environment": "production",
"rack": "A1"
},
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}Changes
Changed in 3 of the 90 revisions of this API.23
- ○
request property
bmcMacAddressdeprecatedrequest-property-deprecated
- ○
- ○
added the new optional request property
nvosMacAddressesnew-optional-request-property
- ○
added the optional property
nvosMacAddressesto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the request property
firmwareVersionrequest-property-removed
- ●
removed the optional property
firmwareVersionfrom the response with the200statusresponse-optional-property-removed
- ●