class-list

Configure classification list

class-list Specification

Parameter Value
Type Collection
Object Key(s) name
Collection Name class-list-list
Collection URI /axapi/v3/class-list
Element Name class-list
Element URI /axapi/v3/class-list/{name}
Element Attributes class-list_attributes
Partition Visibility shared
Operational Data URI /axapi/v3/class-list/{name}/oper
Schema class-list schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/class-list

class-list attributes

Create List

POST

/axapi/v3/class-list

class-list attributes

Get Object

GET

/axapi/v3/class-list/{name}

class-list attributes

Get List

GET

/axapi/v3/class-list

class-list-list

Modify Object

POST

/axapi/v3/class-list/{name}

class-list attributes

Replace Object

PUT

/axapi/v3/class-list/{name}

class-list attributes

Replace List

PUT

/axapi/v3/class-list

class-list-list

Delete Object

DELETE

/axapi/v3/class-list/{name}

class-list attributes

class-list-list

class-list-list is JSON List of class-list attributes

class-list-list : [

class-list attributes

ac-list

Type: List

file

Description Create/Edit a class-list stored as a file

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

geo-list

Type: List

ipv4-list

Type: List

ipv6-list

Type: List

name

Description Specify name of the class list

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

type

Description ‘ac’: Make class-list type Aho-Corasick; ‘dns’: Make class-list type DNS; ‘ipv4’: Make class-list type IPv4; ‘ipv6’: Make class-list type IPv6; ‘string’: Make class-list type String; ‘string-case-insensitive’: Make class-list type String-case-insensitive. Case insensitive is applied to key string;

Type: string

Supported Values: ac, dns, ipv4, ipv6, string, string-case-insensitive

user-tag

Description Customized tag

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

ipv4-list

Specification Value
Type list
Block object keys  

cid

Description

Type: number

Range: 1-32

ipv4addr

Description Specify IP address

Type: string

Format: ipv4-cidr

geo-list

Specification Value
Type list
Block object keys  

geo-location

Description Specify geo-location

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

geo-location-ipv6

Description Specify IPv6 geo-location

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

ac-list

Specification Value
Type list
Block object keys  

ac-key-string

Description Specify key string

Type: string

Format: string-rlx

Maximum Length: 255 characters

Maximum Length: 1 characters

ac-match-type

Description ‘contains’: String contains another string; ‘ends-with’: String ends with another string; ‘equals’: String equals another string; ‘starts-with’: String starts with another string;

Type: string

Supported Values: contains, ends-with, equals, starts-with

ac-value

Description Specify value string

Type: string

Format: string-rlx

Maximum Length: 639 characters

Maximum Length: 1 characters

Mutual Exclusion: ac-value and gtp-rate-limit-policy-str are mutually exclusive

ipv6-list

Specification Value
Type list
Block object keys  

cid

Description

Type: number

Range: 1-32

ipv6-addr

Description Specify IPv6 host or subnet

Type: string

Format: ipv6-address-plen