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:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/flowspec/{name}/dscp

dscp attributes

Create List

POST

/axapi/v3/flowspec/{name}/dscp

dscp attributes

Get Object

GET

/axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val}

dscp attributes

Get List

GET

/axapi/v3/flowspec/{name}/dscp

dscp-list

Modify Object

POST

/axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val}

dscp attributes

Replace Object

PUT

/axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val}

dscp attributes

Replace List

PUT

/axapi/v3/flowspec/{name}/dscp

dscp-list

Delete Object

DELETE

/axapi/v3/flowspec/{name}/dscp/{dscp-attribute}+{dscp-val}

dscp attributes

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