slb template policy forward-policy source

proxy source list.

source Specification

Type Collection
Object Key(s) name
Collection Name source-list
Collection URI /axapi/v3/slb/template/policy/{name}/forward-policy/source/
Element Name source
Element URI /axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}
Element Attributes source_attributes
Schema source schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/source/

source Attributes

Create List

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/source/

source Attributes

Get Object

GET

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}

source Attributes

Get List

GET

/axapi/v3/slb/template/policy/{name}/forward-policy/source/

source-list

Modify Object

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}

source Attributes

Replace Object

PUT

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}

source Attributes

Replace List

PUT

/axapi/v3/slb/template/policy/{name}/forward-policy/source/

source-list

Delete Object

DELETE

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}

source Attributes

source-list

source-list is JSON List of source Attributes

source-list : [

source Attributes

class-list-next

Description: Class List Name

Type: string

Reference Object: /axapi/v3/class-list

destination

Description: destination is a JSON Block . Please see below for destination

Type: Object

Reference Object: /axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination

match-any

Description: Match any source

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: match-any and match-class-list are mutually exclusive

match-class-list

Description: Class List Name

Type: string

Mutual Exclusion: match-class-list and match-any are mutually exclusive

Reference Object: /axapi/v3/class-list

name

Description: source destination match rule name

Type: string

Required: Yes

operation

Description: ‘or’: Logical OR on source class list;

Type: string

Supported Values: or

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

destination

Specification
Type object

any

Description: any is a JSON Block . Please see below for l194_any

Type: Object

Reference Object: /axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/any

class-list-list

Description: class-list-list is a JSON List . Please see below for l194_class-list-list

Type: List

Reference Object: /axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/class-list/{dest-class-list}

web-category-list-list

Description: web-category-list-list is a JSON List . Please see below for l194_web-category-list-list

Type: List

Reference Object: /axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/web-category-list/{web-category-list}

destination.class-list-list

Specification
Type list
Block object keys

action

Description: Action to be performed

Type: string

dest-class-list

Description: Destination Class List Name

Type: string

Reference Object: /axapi/v3/class-list

priority

Description: Priority value of the action(higher the number higher the priority)

Type: number

Range: 1-1024

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

type

Description: ‘host’: Match hostname; ‘url’: match URL;

Type: string

Supported Values: host, url

uuid

Description: uuid of the object

Type: string

destination.class-list-list.sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘hits’: Number of requests matching this destination rule;

Type: string

Supported Values: all, hits

destination.web-category-list-list

Specification
Type list
Block object keys

action

Description: Action to be performed

Type: string

priority

Description: Priority value of the action(higher the number higher the priority)

Type: number

Range: 1-1024

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

type

Description: ‘host’: Match hostname; ‘url’: match URL;

Type: string

Supported Values: host, url

uuid

Description: uuid of the object

Type: string

web-category-list

Description: Destination Class List Name

Type: string

Format: string-rlx

Reference Object: /axapi/v3/web-category/category-list

destination.web-category-list-list.sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘hits’: Number of requests matching this destination rule;

Type: string

Supported Values: all, hits

destination.any

Specification
Type object

action

Description: Action to be performed

Type: string

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

uuid

Description: uuid of the object

Type: string

destination.any.sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘hits’: Number of requests matching this destination rule;

Type: string

Supported Values: all, hits

sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘hits’: Number of requests matching this source rule; ‘destination-match-not-found’: Number of requests without matching destination rule; ‘no-host-info’: Failed to parse ip or host information from request;

Type: string

Supported Values: all, hits, destination-match-not-found, no-host-info

stats data

Counter Size Description
destination-match-not-found 8 Number of requests without matching destination rule
hits 8 Number of requests matching this source rule
no-host-info 8 Failed to parse ip or host information from request