{ "id":"/axapi/v3/cgnv6/lsn/global", "type":"object", "node-type":"scalar", "title":"global", "partition-visibility":"shared", "auto-created-object":1, "description":"Set Large-Scale NAT config parameters", "properties":{ "strictly-sticky-nat":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Strictly adheres to sticky-nat (default: disabled)", "optional":true }, "enhanced-user-tracking":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable enhanced user tracking and visibility (default: disabled)", "optional":true }, "attempt-port-preservation":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'disable': Don't attempt port preservation for NAT allocation; ", "enum":[ "disable" ], "optional":true }, "hairpinning":{ "type":"string", "format":"enum", "default":"filter-none", "partition-visibility":"shared", "description":"'filter-none': Allow self-hairpinning (default). Warning: Only applies to UDP. TCP will use filter-self-ip-port; 'filter-self-ip': Block hairpinning to the user's own IP; 'filter-self-ip-port': Block hairpinning to the user's same IP and port combination; ", "enum":[ "filter-none", "filter-self-ip", "filter-self-ip-port" ], "optional":true }, "inbound-refresh":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'disable': Disable NAT Inbound Refresh Behavior; ", "enum":[ "disable" ], "optional":true }, "ip-selection":{ "type":"string", "format":"enum", "default":"random", "partition-visibility":"shared", "description":"'random': Random (long-run uniformly distributed) NAT IP selection (default); 'round-robin': Round-robin; 'least-used-strict': Fewest NAT ports used; 'least-udp-used-strict': Fewest UDP NAT ports used; 'least-tcp-used-strict': Fewest TCP NAT ports used; 'least-reserved-strict': Fewest NAT ports reserved; 'least-udp-reserved-strict': Fewest UDP NAT ports reserved; 'least-tcp-reserved-strict': Fewest TCP NAT ports reserved; 'least-users-strict': Fewest number of users; ", "enum":[ "random", "round-robin", "least-used-strict", "least-udp-used-strict", "least-tcp-used-strict", "least-reserved-strict", "least-udp-reserved-strict", "least-tcp-reserved-strict", "least-users-strict" ], "optional":true }, "syn-timeout":{ "type":"number", "format":"number", "minimum":2, "maximum":30, "default":4, "partition-visibility":"shared", "description":"Set LSN SYN timeout (SYN idle-timeout in seconds (default: 4 seconds))", "optional":true }, "half-close-timeout":{ "type":"number", "format":"number", "minimum":2, "maximum":3000, "partition-visibility":"shared", "description":"Set LSN Half close timeout (Half close timeout in seconds (default not set))", "optional":true }, "icmp":{ "type":"object", "properties":{ "send-on-port-unavailable":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "description":"'host-unreachable': Send ICMP destination host unreachable; 'admin-filtered': Send ICMP admin filtered; 'disable': Disable ICMP port unavailable message (default); ", "enum":[ "host-unreachable", "admin-filtered", "disable" ] }, "send-on-user-quota-exceeded":{ "type":"string", "format":"enum", "default":"admin-filtered", "partition-visibility":"shared", "description":"'host-unreachable': Send ICMP destination host unreachable; 'admin-filtered': Send ICMP admin filtered (default); 'disable': Disable ICMP quota exceeded message; ", "enum":[ "host-unreachable", "admin-filtered", "disable" ] } } }, "logging":{ "type":"object", "properties":{ "default-template":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/cgnv6/template/logging", "description":"Bind the default NAT logging template for LSN (Bind a NAT logging template)" }, "pool":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "pool-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/cgnv6/nat/pool", "description":"NAT pool" }, "template":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/cgnv6/template/logging", "description":"Bind a NAT logging template" } } } ] }, "shared":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "not":"partition-name", "description":"Select shared partition" }, "partition-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":14, "partition-visibility":"shared", "$ref":"/axapi/v3/partition", "not":"shared", "description":"Select partition name for logging" } } }, "port-batching":{ "type":"object", "properties":{ "size":{ "type":"string", "format":"enum", "default":"1", "partition-visibility":"shared", "description":"'1': Allocate 1 port at a time (default); '8': Allocate 8 ports at a time; '16': Allocate 16 ports at a time; '32': Allocate 32 ports at a time; '64': Allocate 64 ports at a time; '128': Allocate 128 ports at a time; '256': Allocate 256 ports at a time; '512': Allocate 512 ports at a time; ", "enum":[ "1", "8", "16", "32", "64", "128", "256", "512" ] }, "tcp-time-wait-interval":{ "type":"number", "format":"number", "minimum":0, "maximum":10, "default":2, "partition-visibility":"shared", "description":"Minutes before TCP NAT ports can be reused (default: 2)" } } }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } } }