.. _ntp_server: ntp server ========== Set NTP time server server Specification -------------------- ===================================== =================================================== **Parameter** **Value** ===================================== =================================================== **Type** *Intermediate Resource* **Element Name** server **Element URI** /axapi/v3/ntp/server **Element Attributes** server_attributes **Partition Visibility** shared **Schema** :download:`server schema ` ===================================== =================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Get Object .. raw:: html GET .. raw:: html /axapi/v3/ntp/server .. raw:: html server_attributes .. raw:: html
.. _2389_server_attributes: server attributes ----------------- **hostname-list** **Type:** List **Reference Object:** :doc:`/axapi/v3/ntp/server/hostname/{host-servername} ` .. _2389_hostname-list: hostname-list ^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **action** **Description** 'enable': Enable this NTP server; 'disable': Disable this NTP server; **Type:** string **Supported Values:** enable, disable **Default:** enable **host-servername** **Description** IPV4 address, IPV6 address or host name of NTP server(string1~63) **Type:** string **Maximum Length:** 63 characters **Maximum Length:** 1 characters **key** **Description** Use trusted key to authenticate this NTP server (The trusted key number to use) **Type:** number **Range:** 1-65535 **Reference Object:** :doc:`/axapi/v3/ntp/trusted-key ` **prefer** **Description** Set this NTP server as preferred **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters