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