{ "id":"/axapi/v3/object-group/service/{svc-name}", "type":"object", "node-type":"list", "title":"service", "partition-visibility":"shared", "description":"Configure Service Object Group", "properties":{ "svc-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Service Object Group Name", "optional":false }, "description":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Description of the object-group instance", "optional":true }, "rules":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "seq-num":{ "type":"number", "format":"number", "minimum":1, "maximum":8192, "partition-visibility":"shared", "description":"Sequence number" }, "protocol-id":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Protocol ID" }, "tcp-udp":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'tcp': Protocol TCP; 'udp': Protocol UDP; ", "enum":[ "tcp", "udp" ] }, "icmp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Internet Control Message Protocol" }, "icmpv6":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Internet Control Message Protocol version 6" }, "icmp-type":{ "type":"number", "format":"number", "minimum":0, "maximum":254, "partition-visibility":"shared", "not-list":[ "any-type", "special-type" ], "description":"ICMP type number" }, "any-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "icmp-type", "special-type" ], "description":"Any ICMP type" }, "special-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "icmp-type", "any-type" ], "description":"'echo-reply': Type 0, echo reply; 'echo-request': Type 8, echo request; 'info-reply': Type 16, information reply; 'info-request': Type 15, information request; 'mask-reply': Type 18, address mask reply; 'mask-request': Type 17, address mask request; 'parameter-problem': Type 12, parameter problem; 'redirect': Type 5, redirect message; 'source-quench': Type 4, source quench; 'time-exceeded': Type 11, time exceeded; 'timestamp': Type 13, timestamp; 'timestamp-reply': Type 14, timestamp reply; 'dest-unreachable': Type 3, destination unreachable; ", "enum":[ "echo-reply", "echo-request", "info-reply", "info-request", "mask-reply", "mask-request", "parameter-problem", "redirect", "source-quench", "time-exceeded", "timestamp", "timestamp-reply", "dest-unreachable" ] }, "any-code":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "icmp-code", "special-code" ], "description":"Any ICMP code" }, "icmp-code":{ "type":"number", "format":"number", "minimum":0, "maximum":254, "partition-visibility":"shared", "not-list":[ "any-code", "special-code" ], "description":"ICMP code number" }, "special-code":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "any-code", "icmp-code" ], "description":"'frag-required': Code 4, fragmentation required; 'host-unreachable': Code 1, destination host unreachable; 'network-unreachable': Code 0, destination network unreachable; 'port-unreachable': Code 3, destination port unreachable; 'proto-unreachable': Code 2, destination protocol unreachable; 'route-failed': Code 5, source route failed; ", "enum":[ "frag-required", "host-unreachable", "network-unreachable", "port-unreachable", "proto-unreachable", "route-failed" ] }, "icmpv6-type":{ "type":"number", "format":"number", "minimum":0, "maximum":254, "partition-visibility":"shared", "not-list":[ "v6-any-type", "special-v6-type" ], "description":"ICMPv6 type number" }, "v6-any-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "icmpv6-type", "special-v6-type" ], "description":"Any ICMP type" }, "special-v6-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "icmpv6-type", "v6-any-type" ], "description":"'dest-unreachable': Type 1, destination unreachable; 'echo-reply': Type 129, echo reply; 'echo-request': Type 128, echo request; 'packet-too-big': Type 2, packet too big; 'param-prob': Type 4, parameter problem; 'time-exceeded': Type 3, time exceeded; ", "enum":[ "dest-unreachable", "echo-reply", "echo-request", "packet-too-big", "param-prob", "time-exceeded" ] }, "v6-any-code":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "icmpv6-code", "special-v6-code" ], "description":"Any ICMPv6 code" }, "icmpv6-code":{ "type":"number", "format":"number", "minimum":0, "maximum":254, "partition-visibility":"shared", "not-list":[ "v6-any-code", "special-v6-code" ], "description":"ICMPv6 code number" }, "special-v6-code":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "v6-any-code", "icmpv6-code" ], "description":"'addr-unreachable': Code 3, address unreachable; 'admin-prohibited': Code 1, admin prohibited; 'no-route': Code 0, no route to destination; 'not-neighbour': Code 2, not neighbor; 'port-unreachable': Code 4, destination port unreachable; ", "enum":[ "addr-unreachable", "admin-prohibited", "no-route", "not-neighbour", "port-unreachable" ] }, "source":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Source Port Information" }, "eq-src":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Match only packets on a given source port (port number)" }, "gt-src":{ "type":"number", "format":"number", "minimum":1, "maximum":65534, "partition-visibility":"shared", "description":"Match only packets with a greater source port number" }, "lt-src":{ "type":"number", "format":"number", "minimum":2, "maximum":65535, "partition-visibility":"shared", "description":"Match only packets with a lower source port number" }, "range-src":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"match only packets in the range of source port numbers (Starting Port Number)" }, "port-num-end-src":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Ending Source Port Number" }, "eq-dst":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Match only packets on a given destination port (port number)" }, "gt-dst":{ "type":"number", "format":"number", "minimum":1, "maximum":65534, "partition-visibility":"shared", "description":"Match only packets with a greater destination port number" }, "lt-dst":{ "type":"number", "format":"number", "minimum":2, "maximum":65535, "partition-visibility":"shared", "description":"Match only packets with a lesser destination port number" }, "range-dst":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Match only packets in the range of destination port numbers (Starting Destination Port Number)" }, "port-num-end-dst":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Ending Destination Port Number" }, "alg":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'FTP': Specify FTP ALG port range; 'TFTP': Specify TFTP ALG port range; 'SIP': Specify SIP ALG port range; 'DNS': Specify DNS ALG port range; 'PPTP': Specify PPTP ALG port range; 'RTSP': Specify RTSP ALG port range; ", "enum":[ "FTP", "TFTP", "SIP", "DNS", "PPTP", "RTSP" ] } } } ] }, "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":[ "svc-name" ], "required":[ "svc-name" ] }