{ "id":"/axapi/v3/flowspec/{name}/protocol/{proto-attribute}+{proto-num}", "type":"object", "node-type":"list", "title":"protocol", "partition-visibility":"shared", "description":"Configure Protocol for a Flowspec", "properties":{ "proto-attribute":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'eq': Match only packets on a given protocol; 'gt': Match only packets with a greater protocol number; 'lt': Match only packets with a lower protocol number; 'range': match only packets in the range of protocol numbers; ", "enum":[ "eq", "gt", "lt", "range" ], "optional":false }, "proto-num":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Specify the protocol number(6 for TCP and 17 for UDP)", "optional":false }, "proto-num-end":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "partition-visibility":"shared", "description":"Specify the protocol number", "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 } }, "object-keys":[ "proto-attribute", "proto-num" ], "required":[ "proto-attribute", "proto-num" ] }