flowspec dscp¶
Configure DSCP for a Flowspec
dscp Specification¶
Parameter Value Type Collection Object Key(s) dscp-attribute, dscp-val Collection Name dscp-list Collection URI /axapi/v3/flowspec/{name}/dscp Element Name dscp Element URI /axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val} Element Attributes dscp_attributes Partition Visibility shared Schema dscp schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/flowspec/{name}/dscp | ||
Create List | POST | /axapi/v3/flowspec/{name}/dscp | ||
Get Object | GET | /axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val} | ||
Get List | GET | /axapi/v3/flowspec/{name}/dscp | ||
Modify Object | POST | /axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val} | ||
Replace Object | PUT | /axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val} | ||
Replace List | PUT | /axapi/v3/flowspec/{name}/dscp | ||
Delete Object | DELETE | /axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val} |
dscp-list¶
dscp-list is JSON List of dscp attributes
dscp-list : [
]
dscp attributes¶
dscp-attribute
Description ‘eq’: Match only packets on a given DSCP; ‘gt’: Match only packets with a greater DSCP; ‘lt’: Match only packets with a lower DSCP; ‘range’: match only packets in the range of DSCPs;
Type: string
Supported Values: eq, gt, lt, range
dscp-val
Description Specify the DSCP value
Type: number
Range: 1-63
dscp-val-end
Description Specify the DSCP value
Type: number
Range: 2-63
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters