{ "id":"/axapi/v3/slb/template/virtual-port/{name}", "type":"object", "node-type":"list", "title":"virtual-port", "partition-visibility":"shared", "description":"Virtual port template", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "default":"default", "partition-visibility":"shared", "description":"Virtual port template name", "optional":false }, "aflow":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Use aFlow to eliminate the traffic surge", "optional":true }, "allow-syn-otherflags":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Allow initial SYN packet with other flags", "optional":true }, "conn-limit":{ "type":"number", "format":"number", "minimum":1, "maximum":64000000, "default":64000000, "partition-visibility":"shared", "description":"Connection limit", "optional":true }, "conn-limit-reset":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Send client reset when connection over limit", "optional":true }, "conn-limit-no-logging":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not log connection over limit event", "optional":true }, "conn-rate-limit":{ "type":"number", "format":"number", "minimum":1, "maximum":1048575, "partition-visibility":"shared", "description":"Connection rate limit", "optional":true }, "rate-interval":{ "type":"string", "format":"enum", "default":"second", "partition-visibility":"shared", "description":"'100ms': Use 100 ms as sampling interval; 'second': Use 1 second as sampling interval; ", "enum":[ "100ms", "second" ], "optional":true }, "conn-rate-limit-reset":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Send client reset when connection rate over limit", "optional":true }, "conn-rate-limit-no-logging":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not log connection over limit event", "optional":true }, "pkt-rate-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'src-ip-port': Source IP and port rate limit; 'src-port': Source port rate limit; ", "enum":[ "src-ip-port", "src-port" ], "optional":true }, "rate":{ "type":"number", "format":"number", "minimum":1, "maximum":1048575, "partition-visibility":"shared", "description":"Source IP and port rate limit (Packet rate limit)", "optional":true }, "pkt-rate-interval":{ "type":"string", "format":"enum", "default":"second", "partition-visibility":"shared", "description":"'100ms': Source IP and port rate limit per 100ms; 'second': Source IP and port rate limit per second (default); ", "enum":[ "100ms", "second" ], "optional":true }, "pkt-rate-limit-reset":{ "type":"number", "format":"number", "minimum":0, "maximum":1048575, "default":0, "partition-visibility":"shared", "description":"send client-side reset (reset after packet limit)", "optional":true }, "log-options":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'no-logging': Do not log over limit event; 'no-repeat-logging': log once for over limit event. Default is log once per minute; ", "enum":[ "no-logging", "no-repeat-logging" ], "optional":true }, "when-rr-enable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Only do rate limit if CPU RR triggered", "optional":true }, "allow-vip-to-rport-mapping":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Allow mapping of VIP to real port", "optional":true }, "dscp":{ "type":"number", "format":"number", "minimum":1, "maximum":63, "partition-visibility":"shared", "description":"Differentiated Services Code Point (DSCP to Real Server IP Mapping Value)", "optional":true }, "drop-unknown-conn":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Drop conection if receives TCP packet without SYN or RST flag and it does not belong to any existing connections", "optional":true }, "reset-unknown-conn":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Send reset back if receives TCP packet without SYN or RST flag and it does not belong to any existing connections", "optional":true }, "reset-l7-on-failover":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Send reset to L7 client and server connection upon a failover", "optional":true }, "ignore-tcp-msl":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"reclaim TCP resource immediately without MSL", "optional":true }, "snat-msl":{ "type":"number", "format":"number", "minimum":1, "maximum":1800, "partition-visibility":"shared", "description":"Source NAT MSL (Source NAT MSL value (seconds))", "optional":true }, "snat-port-preserve":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Source NAT Port Preservation", "optional":true }, "non-syn-initiation":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Allow initial TCP packet to be non-SYN", "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 }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "object-keys":[ "name" ], "required":[ "name" ] }