{ "id":"/axapi/v3/slb/template/tcp/{name}", "type":"object", "node-type":"list", "title":"tcp", "partition-visibility":"shared", "description":"L4 TCP switch config", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "default":"default", "partition-visibility":"shared", "description":"Fast TCP Template Name", "optional":false }, "logging":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'init': init only log; 'term': termination only log; 'both': both initial and termination log; ", "enum":[ "init", "term", "both" ], "optional":true }, "idle-timeout":{ "type":"number", "format":"number", "minimum":1, "maximum":2097151, "default":120, "partition-visibility":"shared", "description":"Idle Timeout value (Interval of 60 seconds), default 120 seconds (idle timeout in second, default 120)", "optional":true }, "half-open-idle-timeout":{ "type":"number", "format":"number", "minimum":1, "maximum":60, "partition-visibility":"shared", "description":"TCP Half Open Idle Timeout (sec), default off (half open idle timeout in second, default off)", "optional":true }, "half-close-idle-timeout":{ "type":"number", "format":"number", "minimum":60, "maximum":120, "partition-visibility":"shared", "description":"TCP Half Close Idle Timeout (sec), default off (half close idle timeout in second, default off)", "optional":true }, "initial-window-size":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Set the initial window size (number)", "optional":true }, "force-delete-timeout":{ "type":"number", "format":"number", "minimum":1, "maximum":31, "partition-visibility":"shared", "not":"force-delete-timeout-100ms", "description":"The maximum time that a session can stay in the system before being delete (number (second))", "optional":true }, "force-delete-timeout-100ms":{ "type":"number", "format":"number", "minimum":1, "maximum":31, "partition-visibility":"shared", "not":"force-delete-timeout", "description":"The maximum time that a session can stay in the system before being delete (number in 100ms)", "optional":true }, "alive-if-active":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"keep connection alive if active traffic", "optional":true }, "qos":{ "type":"number", "format":"number", "minimum":1, "maximum":63, "partition-visibility":"shared", "description":"QOS level (number)", "optional":true }, "insert-client-ip":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Insert client ip into TCP option", "optional":true }, "lan-fast-ack":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable fast TCP ack on LAN", "optional":true }, "reset-fwd":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"send reset to server if error happens", "optional":true }, "reset-rev":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"send reset to client if error happens", "optional":true }, "reset-follow-fin":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"send reset to client or server upon receiving first fin", "optional":true }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"down", "description":"send reset to client when server is disabled", "optional":true }, "down":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"disable", "description":"send reset to client when server is down", "optional":true }, "re-select-if-server-down":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"re-select another server if service port is down", "optional":true }, "del-session-on-server-down":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Delete session if the server/port goes down (either disabled/hm down)", "optional":true }, "proxy-header":{ "type":"object", "properties":{ "proxy-header-action":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'insert': Insert proxy header; ", "enum":[ "insert" ] }, "proxy-header-version":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'v1': version 1; 'v2': version 2; ", "enum":[ "v1", "v2" ] } } }, "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" ] }