flowspec port¶
Configure Port for a Flowspec
port Specification¶
Parameter Value Type Collection Object Key(s) port-attribute, port-num Collection Name port-list Collection URI /axapi/v3/flowspec/{name}/port Element Name port Element URI /axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num} Element Attributes port_attributes Partition Visibility shared Schema port schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/flowspec/{name}/port | ||
Create List | POST | /axapi/v3/flowspec/{name}/port | ||
Get Object | GET | /axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num} | ||
Get List | GET | /axapi/v3/flowspec/{name}/port | ||
Modify Object | POST | /axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num} | ||
Replace Object | PUT | /axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num} | ||
Replace List | PUT | /axapi/v3/flowspec/{name}/port | ||
Delete Object | DELETE | /axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num} |
port-list¶
port-list is JSON List of port attributes
port-list : [
]
port attributes¶
port-attribute
Description ‘eq’: Match only packets on a given 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