flowspec protocol¶
Configure Protocol for a Flowspec
protocol Specification¶
Parameter Value Type Collection Object Key(s) proto-attribute, proto-num Collection Name protocol-list Collection URI /axapi/v3/flowspec/{name}/protocol Element Name protocol Element URI /axapi/v3/flowspec/{name}/protocol/{proto-attribute}+{proto-num} Element Attributes protocol_attributes Partition Visibility shared Schema protocol schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/flowspec/{name}/protocol | ||
Create List | POST | /axapi/v3/flowspec/{name}/protocol | ||
Get Object | GET | /axapi/v3/flowspec/{name}/protocol/{proto-attribute}+{proto-num} | ||
Get List | GET | /axapi/v3/flowspec/{name}/protocol | ||
Modify Object | POST | /axapi/v3/flowspec/{name}/protocol/{proto-attribute}+{proto-num} | ||
Replace Object | PUT | /axapi/v3/flowspec/{name}/protocol/{proto-attribute}+{proto-num} | ||
Replace List | PUT | /axapi/v3/flowspec/{name}/protocol | ||
Delete Object | DELETE | /axapi/v3/flowspec/{name}/protocol/{proto-attribute}+{proto-num} |
protocol-list¶
protocol-list is JSON List of protocol attributes
protocol-list : [
]
protocol attributes¶
proto-attribute
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;
Type: string
Supported Values: eq, gt, lt, range
proto-num
Description Specify the protocol number(6 for TCP and 17 for UDP)
Type: number
Range: 0-255
proto-num-end
Description Specify the protocol number
Type: number
Range: 1-255
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters