PUT /api/v1/boarding/discoverySettings
Use this method to modify the discovery settings.
Authentication
Authentication with username and password is required.
Resource URI
PUT https://{orchestrator_server_IP}/api/v1/boarding/discoverySettings
Query parameters
None
Request body
This PUT request updates the entire resource. To clear a value, set the attribute to null (if applicable). If an array is specified, the entire array is replaced (unless stated otherwise). If an optional attribute is not specified, that attribute is not changed. If an immutable (unchangeable) attribute is specified, it is ignored.
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
autoDiscoveryEnabled | Optional | Boolean | Indicates whether you can automatically discover baseboard management controllers using the SLP discovery method. This can be one of the following values.
Note The SLP Discovery setting that you choose in If the SLP Discovery setting is changed in Lenovo XClarity Administrator, it will be synchronized with XClarity Orchestrator. | ||
offlineDevicesCleanup | Optional | Boolean | Indicates whether Lenovo XClarity Orchestrator automatically unmanages devices that are offline for a specific amount of time. This can be one of the following values.
| ||
offlineDevicesTimeout | Optional | Boolean | Amount of time, in hours, that devices must be offline before they are automatically unmanaged This value can be from 1 – 24 hours. The default is 24 hours. | ||
encapsulationEnabled | Optional | Boolean | Indicates whether encapsulation is enabled during device management. This can be one of the following values.
| ||
registerRequestEnabled | Optional | Boolean | Indicates whether Lenovo XClarity Administrator resource managers accept discovery requests from a baseboard management controller when the management controller uses DNS to find Lenovo XClarity Administrator instances.
|
{
"autoDiscoveryEnabled": true,
"offlineDevicesCleanup": true,
"offlineDevicesTimeout": 24,
"encapsulationEnabled": true,
"registerRequestEnabled": true
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body. |
403 | Forbidden | The orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
{message_attributes} | varies | Status messages (see Status messages) |