PUT /aicc
Use this method to configure Lenovo XClarity Administrator settings (such as NTP server settings, date and time settings, and services that are currently running), change the virtual appliance name, and restart or shutdown the virtual appliance.
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/aicc
Query parameters
None
Request body
Attributes | Required / Optional | Type | Description | |||
---|---|---|---|---|---|---|
appliance | Optional | Object | Information about the current instance of the XClarity Administrator virtual appliance | |||
name | Optional | String | Name of the virtual appliance | |||
runlevel | Optional | Integer | Appliance run level. This can be one of the following values.
| |||
date | Optional | Object | Information about the current date and time on XClarity Administrator | |||
parts | Optional | Array | Current date and time | |||
yyyy | Optional | Integer | Year | |||
mm | Optional | Integer | Month | |||
dd | Optional | Integer | Day | |||
hours | Optional | Integer | Hour | |||
mins | Optional | Integer | Minute | |||
secs | Optional | Integer | Second | |||
time_format | Optional | String | Time format. This can be one of the following values.
| |||
timezone_id | Optional | String | Time zone ID | |||
hideUnmanagedChassis | Optional | Boolean | Indicates whether to hide chassis that were not explicitly managed by a user. This can be one of the following values.
This attribute is supported in XClarity Administrator v4.1 and later. | |||
ntp | Optional | Object | Information about the NTP server that is associated with XClarity Administrator | |||
servers | Optional | Array of objects | List of NTP servers | |||
server | Required | String | IP address or hostname of the NTP server | |||
sync | Required | Boolean | Indicates whether XClarity Administrator synchronizes with the NTP server specified with the server attribute. | |||
version | Optional | Integer | Version of the NTP server. This can be one of the following values.
| |||
v3_key | Optional | String | Authentication key. This can be one of the following values.
Note The key index and authentication key must match the key ID and password values set on the NTP server. See the documentation for your NTP server for information about setting the key ID and key index. | |||
v3_key_index | Optional | String | Authentication key index Note The key index and authentication key must match the key ID and password values set on the NTP server. See the documentation for your NTP server for information about setting the key ID and password. | |||
v3_key_type | Optional | String | Authentication key-type. This can be one of the following values.
| |||
preferredDisplayName | Optional | String | Property to use to displayed the device names in the user interface. This can be one of the following values.
If the selected property is not applicable or is applicable but there is no value available for a device, then byDefault is used. | |||
preferredSortGridState | Optional | Boolean | Indicates whether to sort the inventory and groups data using the value set for the preferredDisplayName attribute. This can be one of the following values.
| |||
services | Optional | Array | List of the XClarity Administrator services | |||
id | Optional | String | Service ID To obtain the service IDs, use GET /aicc. | |||
state | Optional | Integer | Current state of the service. This can be one of the following values.
| |||
vaSettings | Optional | Object | Cryptographic and certificate settings for this XClarity Administrator instance. | |||
certificate | Optional | String | Apache server certificate readiness. This can be one of the following values.
| |||
cryptographicMode | Optional | String | Cryptographic mode. This can be one of the following values.
For more information about these settings, see Configuring cryptography settings. | |||
tlsMode | Optional | String | Minimum TLS protocol version to use for client connections. This can be one of the following values.
For more information about these settings, see Configuring cryptography settings. |
{
"ntp": {
"servers": [{
"server": "1.1.1.2",
"version": 1
}]
}
}
{
"ntp": {
"servers": [{
"server": "time-a.nist.gov",
"version": 3
"v3_key": "123456789012345678901234567890abcdefabcd",
"v3_key_index": 3,
"v3_key_type": "M",
},
{
"server": "us.pool.ntp.org",
"version": 3,
"v3_key": "123456789012345678901234567890abcdefabcd"
"v3_key_index": 1,
"v3_key_type": "SHA1",
}]
}
}
{
"ntp": {
"servers": [{
"server": "time-a.nist.gov",
"sync": "true"
}]
}
}
{
"date": {
"time_format": "24",
"timezone_id": "America/ New_York"
}
}
{
"date": {
"parts": {
"yyyy": 2014,
"dd": 7,
"mm": 5,
"hours": 2,
"mins": 10,
"secs": 24
}
}
}
{
"services": [{
"id": "network",
"state": 191
}]
}
{
"appliance": {
"runlevel": 0
}
}
{
"appliance": {
"runlevel": 6
}
}
{
"appliance": {
"name": "myAppliance"
}
}
{
"preferredDisplayName": "ipv6Address",
"preferredSortGridState": true
}
{
"hideUnmanagedChassis": 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. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None