{ "id":"/axapi/v3/glid/{name}", "type":"object", "node-type":"list", "title":"glid", "partition-visibility":"shared", "description":"Configure global limit ID", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Global Limit ID Name (PBSLB allows number only)", "optional":false }, "description":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Description for glid", "optional":true }, "rate-unit":{ "type":"string", "format":"enum", "default":"system-global-setting", "partition-visibility":"shared", "description":"'1sec': 1sec for internal glid rate unit; 'system-global-setting': use global rate interval; ", "enum":[ "1sec", "system-global-setting" ], "optional":true }, "conn-limit":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "description":"Connection Limit for the GLID (PBSLB range 1-1048575)", "optional":true }, "conn-rate-limit":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Connection rate limit per rate-interval (TPS range 1-16000000)", "optional":true }, "conn-rate-limit-interval":{ "type":"number", "format":"number", "plat-neg-list":["tps"], "minimum":1, "maximum":65535, "partition-visibility":"shared", "optional":true }, "request-limit":{ "type":"number", "format":"number", "plat-neg-list":["tps"], "minimum":1, "maximum":1048575, "partition-visibility":"shared", "description":"Request limit", "optional":true }, "request-rate-limit":{ "type":"number", "format":"number", "plat-neg-list":["tps"], "minimum":1, "maximum":4294967295, "partition-visibility":"shared", "description":"Request rate limit", "optional":true }, "request-rate-limit-interval":{ "type":"number", "format":"number", "plat-neg-list":["tps"], "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Number of 100ms", "optional":true }, "dns":{ "type":"object", "properties":{ "action":{ "type":"string", "format":"enum", "default":"cache-disable", "partition-visibility":"shared", "description":"'cache-disable': Disable dns cache; 'cache-enable': Enable dns cache; ", "enum":[ "cache-disable", "cache-enable" ] }, "weight":{ "type":"number", "format":"number", "minimum":1, "maximum":7, "partition-visibility":"shared", "description":"Weight for cache entry" }, "ttl":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"TTL for cache entry (TTL in seconds)" } } }, "dns64":{ "type":"object", "properties":{ "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable" }, "exclusive-answer":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Exclusive Answer in DNS Response" }, "prefix":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "description":"IPv6 prefix" } } }, "use-nat-pool":{ "type":"string", "format":"string", "plat-neg-list":["tps"], "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Use NAT pool specified to do reverse NAT for class list members bound to the lid", "optional":true }, "pkt-rate-limit":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "description":"Packet rate limit per rate-interval", "optional":true }, "bit-rate-limit":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "description":"Kibit (kibibit / 1024-bit) rate limit per rate-interval", "optional":true }, "frag-pkt-rate-limit":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "description":"Fragmented packet rate limit per rate-interval", "optional":true }, "syn-cookie-thr":{ "type":"number", "format":"number", "minimum":1, "maximum":16, "partition-visibility":"shared", "description":"Syn Cookie threshold for the GLID", "optional":true }, "over-limit-cfg":{ "type":"object", "properties":{ "over-limit-action":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Action to take when limit(s) exceeds" }, "action-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'drop': Silently Drop the new connection / new packet when it exceeds limit; 'blacklist-src': Black List source entry for X minutes (only applied to src and src-dst entries); ", "enum":[ "drop", "blacklist-src" ] }, "blacklist-src-min":{ "type":"number", "format":"number", "minimum":1, "maximum":30, "partition-visibility":"shared", "description":"Black List source entry for X minutes" }, "action-value":{ "type":"string", "format":"enum", "plat-neg-list":["tps"], "partition-visibility":"shared", "description":"'drop': Silently Drop the new connection / new packet when it exceeds limit; 'dns-cache-disable': Disable dns cache when it exceeds limit; 'dns-cache-enable': Enable dns cache when it exceeds limit; 'forward': Forward the traffic even it exceeds limit; 'reset': Reset the connection when it exceeds limit; ", "enum":[ "drop", "dns-cache-disable", "dns-cache-enable", "forward", "reset" ] }, "lockout":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "description":"Don't accept any new connection for certain time (Lockout duration in minutes)" }, "log":{ "type":"number", "format":"flag", "plat-neg-list":["tps"], "default":0, "partition-visibility":"shared", "description":"Log a message" }, "log-interval":{ "type":"number", "format":"number", "plat-neg-list":["tps"], "minimum":1, "maximum":255, "partition-visibility":"shared", "description":"Log interval (minute, by default system will log every over limit instance)" } } }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "object-keys":[ "name" ], "required":[ "name" ] }