{ "id":"/axapi/v3/flowspec/{name}/source-port/{port-attribute}+{port-num}", "type":"object", "node-type":"list", "title":"source-port", "partition-visibility":"shared", "description":"Configure Source Port for a Flowspec", "properties":{ "port-attribute":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'eq': Match only packets on a given source port; 'gt': Match only packets with a greater port number; 'lt': Match only packets with a lower port number; 'range': match only packets in the range of port numbers; ", "enum":[ "eq", "gt", "lt", "range" ], "optional":false }, "port-num":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify the port number", "optional":false }, "port-num-end":{ "type":"number", "format":"number", "minimum":2, "maximum":65535, "partition-visibility":"shared", "description":"Specify the port 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":[ "port-attribute", "port-num" ], "required":[ "port-attribute", "port-num" ] }