flowspec port

Configure Port for a Flowspec

port Specification

Parameter

Value

Type

Collection

Object Key(s)

port-attribute, port-num, port-num-end

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}+{port-num-end}

Element Attributes

port_attributes

Partition Visibility

shared

Schema

port schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/flowspec/{name}/port

port attributes

Create List

POST

/axapi/v3/flowspec/{name}/port

port attributes

Get Object

GET

/axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num}+{port-num-end}

port attributes

Get List

GET

/axapi/v3/flowspec/{name}/port

port-list

Modify Object

POST

/axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num}+{port-num-end}

port attributes

Replace Object

PUT

/axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num}+{port-num-end}

port attributes

Replace List

PUT

/axapi/v3/flowspec/{name}/port

port-list

Delete Object

DELETE

/axapi/v3/flowspec/{name}/port/{port-attribute}+{port-num}+{port-num-end}

port attributes

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