{ "id":"/axapi/v3/ntp", "type":"object", "node-type":"intermediate", "title":"ntp", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "description":"Network Time Protocol configuration", "properties":{ "ntp-global":{ "type":"object", "$ref":"/axapi/v3/ntp/ntp-global", "properties":{ "allow-data-ports":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "auth-key-list":{ "type":"array", "minItems":1, "items":{ "type":"auth-key" }, "uniqueItems":true, "$ref":"/axapi/v3/ntp/auth-key/{key}", "array":[ { "properties":{ "key":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"authentication key", "optional":false }, "alg-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'M': encryption using MD5; 'SHA': encryption using SHA; 'SHA1': encryption using SHA1; ", "enum":[ "M", "SHA", "SHA1" ], "optional":true }, "key-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'ascii': key string in ASCII form; 'hex': key string in hex form; ", "enum":[ "ascii", "hex" ], "optional":true }, "asc-key":{ "type":"string", "format":"password", "minLength":1, "maxLength":20, "partition-visibility":"shared", "not":"hex-key", "optional":true }, "encrypted":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"shared", "not":"hex-encrypted", "description":"Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED password string)", "optional":true }, "hex-key":{ "type":"string", "format":"password", "minLength":21, "maxLength":40, "partition-visibility":"shared", "not":"asc-key", "optional":true }, "hex-encrypted":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"shared", "not":"encrypted", "description":"Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED password string)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "key" ] } ] }, "trusted-key-list":{ "type":"array", "minItems":1, "items":{ "type":"trusted-key" }, "uniqueItems":true, "$ref":"/axapi/v3/ntp/trusted-key/{key}", "array":[ { "properties":{ "key":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "$ref":"/axapi/v3/ntp/auth-key", "description":"trusted key", "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "key" ] } ] }, "server":{ "type":"object", "$ref":"/axapi/v3/ntp/server", "properties":{ "hostname-list":{ "type":"array", "minItems":1, "items":{ "type":"hostname" }, "uniqueItems":true, "$ref":"/axapi/v3/ntp/server/hostname/{host-servername}", "array":[ { "properties":{ "host-servername":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"IPV4 address, IPV6 address or host name of NTP server(string1~63)", "optional":false }, "key":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "$ref":"/axapi/v3/ntp/trusted-key", "description":"Use trusted key to authenticate this NTP server (The trusted key number to use)", "optional":true }, "prefer":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Set this NTP server as preferred", "optional":true }, "action":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"shared", "description":"'enable': Enable this NTP server; 'disable': Disable this NTP server; ", "enum":[ "enable", "disable" ], "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "host-servername" ] } ] } } } } }