Update Element NTP (v2.0)
PUT/v2.0/api/tenants/:tenant_id/elements/:element_id/ntp/:ntp_id
Update an existing element NTP.
Request
Path Parameters
ID of the tenant.
ID of the element.
The NTP configuration ID.
- application/json
Body
- Array [
- ]
The description of the Network Time Protocol (NTP) configuration. Max characters = 256.
The ID of the NTP configuration.
The name of the NTP configuration. Max characters = 128.
ntp_servers NTPServer[]required
The configured NTP servers. A minimum of 1 and a maximum of 10 NTP servers can be configured.
The host IP address or domain name.
The maximum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Max Poll can be set between 4 and 17.
The minimum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Min Poll can be set between 4 and 17.
The version of the NTP configuration. NTP versions 2, 3 and 4 are supported.
The interface used for sending a request to an NTP server. A source interface can include PPPoE or sub-interfaces with IP addresses. Up to 10 source interfaces are supported.
A information field that can be added to identify the NTP configuration.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The description of the Network Time Protocol (NTP) configuration. Max characters = 256.
The ID of the NTP configuration.
The name of the NTP configuration. Max characters = 128.
ntp_servers NTPServer[]required
The configured NTP servers. A minimum of 1 and a maximum of 10 NTP servers can be configured.
The host IP address or domain name.
The maximum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Max Poll can be set between 4 and 17.
The minimum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Min Poll can be set between 4 and 17.
The version of the NTP configuration. NTP versions 2, 3 and 4 are supported.
The interface used for sending a request to an NTP server. A source interface can include PPPoE or sub-interfaces with IP addresses. Up to 10 source interfaces are supported.
A information field that can be added to identify the NTP configuration.
{
"id": "string",
"name": "string",
"ntp_servers": [
{
"host": "string",
"max_poll": 0,
"min_poll": 0,
"version": 0
}
],
"source_interface_ids": [
"string"
],
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "NTP_CONFIG_UNSUPPORTED_SWVERSION"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "NTP_CONFIG_INVALID_INTERFACE_IDS"
},
{
"code": "NTP_CONFIG_INVALID_SERVER_LIST"
}
]
}
}