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