slb template policy forward-policy

Forward Policy commands.

forward-policy Specification

Type Configuration Resource
Element Name forward-policy
Element URI /axapi/v3/slb/template/policy/{name}/forward-policy
Element Attributes forward-policy_attributes
Schema forward-policy schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

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

forward-policy Attributes

Get Object

GET

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

forward-policy Attributes

Modify Object

POST

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

forward-policy Attributes

Replace Object

PUT

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

forward-policy Attributes

Delete Object

DELETE

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

forward-policy Attributes

forward-policy Attributes

action-list

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

Type: List

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

filtering

Description: filtering is a JSON List . Please see below for filtering

Type: List

no-client-conn-reuse

Description: Inspects only first request of a connection

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

source-list

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

Type: List

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

uuid

Description: uuid of the object

Type: string

action-list

Specification
Type list
Block object keys

action1

Description: ‘forward-to-internet’: Forward request to Internet; ‘forward-to-service-group’: Forward request to service group; ‘drop’: Drop request;

Type: string

Supported Values: forward-to-internet, forward-to-service-group, drop

drop-message

Description: drop-message sent to the client as webpage(html tags are included and quotation marks are required for white spaces)

Type: string

Format: string-rlx

Mutual Exclusion: drop-message and drop-redirect-url are mutually exclusive

drop-redirect-url

Description: Specify URL to which client request is redirected upon being dropped

Type: string

Format: string-rlx

Mutual Exclusion: drop-redirect-url and drop-message are mutually exclusive

fake-sg

Description: service group to forward the packets to Internet

Type: string

fall-back

Description: Fallback service group for Internet

Type: string

fall-back-snat

Description: Source NAT pool or pool group for fallback server

Type: string

forward-snat

Description: Source NAT pool or pool group

Type: string

http-status-code

Description: ‘301’: Moved permanently; ‘302’: Found;

Type: string

Supported Values: 301, 302

Default: 302

log

Description: enable logging

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

name

Description: Action policy name

Type: string

proxy-chaining

Description: Enable proxy chaining feature

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

real-sg

Description: service group to forward the packets

Type: string

sampling-enable

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

Type: List

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

action-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

filtering

Specification
Type list
Block object keys

ssli-url-filtering

Description: ‘bypassed-sni-disable’: Disable SNI filtering for bypassed URL’s(enabled by default); ‘intercepted-sni-enable’: Enable SNI filtering for intercepted URL’s(disabled by default); ‘intercepted-http-disable’: Disable HTTP(host/URL) filtering for intercepted URL’s(enabled by default); ‘no-sni-allow’: Allow connection if SNI filtering is enabled and SNI header is not present(Drop by default);

Type: string

Supported Values: bypassed-sni-disable, intercepted-sni-enable, intercepted-http-disable, no-sni-allow

source-list

Specification
Type list
Block object keys

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 l195_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

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 l195_sampling-enable

Type: List

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

source-list.destination

Specification
Type object

any

Description: any is a JSON Block . Please see below for l195_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 l195_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 l195_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}

source-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 l195_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

source-list.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

source-list.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 l195_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

source-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

source-list.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 l195_sampling-enable

Type: List

uuid

Description: uuid of the object

Type: string

source-list.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

source-list.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