a10_slb_template_policy_forward_policy_action

Synopsis

action list

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’, ‘absent’]

State of the object to be created.

ansible_host

str/required

Host for AXAPI authentication

ansible_username

str/required

Username for AXAPI authentication

ansible_password

str/required

Password for AXAPI authentication

ansible_port

int/required

Port for AXAPI authentication

a10_device_context_id

int

[‘1-8’]

Device ID for aVCS configuration

a10_partition

str

Destination/target partition for object/command

policy_name

str/required

Key to identify parent object

name

str/required

Action policy name

action1

str

‘forward-to-internet’= Forward request to Internet; ‘forward-to-service-group’= Forward request to service group; ‘forward-to-proxy’= Forward request to HTTP proxy server; ‘drop’= Drop request;

fake_sg

str

service group to forward the packets to Internet

real_sg

str

service group to forward the packets

forward_snat

str

Source NAT pool or pool group

forward_snat_pt_only

bool

Source port translation only

fall_back

str

Fallback service group for Internet

fall_back_snat

str

Source NAT pool or pool group for fallback server

fall_back_snat_pt_only

bool

Source port translation only for fallback server

proxy_chaining

bool

Enable proxy chaining feature

proxy_chaining_bypass

bool

Forward all https packets to upstream proxy

support_cert_fetch

bool

Fetch server certificate by upstream proxy

log

bool

enable logging

drop_response_code

int

Specify response code for drop action

drop_message

str

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

drop_redirect_url

str

Specify URL to which client request is redirected upon being dropped

http_status_code

str

‘301’= Moved permanently; ‘302’= Found;

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

counters1

str

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

stats

dict

Field stats

hits

str

Number of requests matching this destination rule

name

str

Action policy name

Examples


Return Values

modified_values (changed, dict, )

Values modified (or potential changes if using check_mode) as a result of task operation

axapi_calls (always, list, )

Sequential list of AXAPI calls made by the task

endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])

The AXAPI endpoint being accessed.

http_method (, str, [‘POST’, ‘GET’])

HTTP method being used by the primary task to interact with the AXAPI endpoint.

request_body (, complex, )

Params used to query the AXAPI

response_body (, complex, )

Response from the AXAPI

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • A10 Networks