a10_slb_template_policy

Synopsis

Policy config

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

name

str/required

Policy template name

bw_list_name

str

Specify a blacklist/whitelist name

timeout

int

Define timeout value of PBSLB dynamic entry (Timeout value (minute, default is 5))

use_destination_ip

bool

Use destination IP to match the policy

over_limit

bool

Specify operation in case over limit

over_limit_reset

bool

Reset the connection when it exceeds limit

over_limit_lockup

int

Don’t accept any new connection for certain time (Lockup duration (minute))

over_limit_logging

bool

Log a message

interval

int

Log interval (minute)

bw_list_id

list

Field bw_list_id

id

int

Specify id that maps to service group (The id number)

service_group

str

Specify a service group (Specify the service group name)

pbslb_logging

bool

Configure PBSLB logging

pbslb_interval

int

Specify logging interval in minutes

fail

bool

Only log unsuccessful connections

bw_list_action

str

‘drop’= drop the packet; ‘reset’= Send reset back;

logging_drp_rst

bool

Configure PBSLB logging

action_interval

int

Specify logging interval in minute (default is 3)

overlap

bool

Use overlap mode for geo-location to do longest match

share

bool

Share counters between virtual ports and virtual servers

full_domain_tree

bool

Share counters between geo-location and sub regions

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

counters1

str

‘all’= all; ‘fwd-policy-dns-unresolved’= Forward-policy unresolved DNS queries; ‘fwd-policy-dns-outstanding’= Forward-policy current DNS outstanding requests; ‘fwd-policy-snat-fail’= Forward-policy source-nat translation failure; ‘fwd- policy-hits’= Number of forward-policy requests for this policy template; ‘fwd- policy-forward-to-internet’= Number of forward-policy requests forwarded to internet; ‘fwd-policy-forward-to-service-group’= Number of forward-policy requests forwarded to service group; ‘fwd-policy-forward-to-proxy’= Number of forward-policy requests forwarded to proxy; ‘fwd-policy-policy-drop’= Number of forward-policy requests dropped; ‘fwd-policy-source-match-not-found’= Forward- policy requests without matching source rule; ‘exp-client-hello-not-found’= Expected Client HELLO requests not found;

class_list

dict

Field class_list

name

str

Class list name or geo-location-class-list name

client_ip_l3_dest

bool

Use destination IP as client IP address

client_ip_l7_header

bool

Use extract client IP address from L7 header

header_name

str

Specify L7 header name

uuid

str

uuid of the object

lid_list

list

Field lid_list

forward_policy

dict

Field forward_policy

no_client_conn_reuse

bool

Inspects only first request of a connection

acos_event_log

bool

Enable acos event logging

local_logging

bool

Enable local logging

require_web_category

bool

Wait for web category to be resolved before taking proxy decision

filtering

list

Field filtering

san_filtering

list

Field san_filtering

uuid

str

uuid of the object

action_list

list

Field action_list

dual_stack_action_list

list

Field dual_stack_action_list

source_list

list

Field source_list

stats

dict

Field stats

fwd_policy_dns_unresolved

str

Forward-policy unresolved DNS queries

fwd_policy_dns_outstanding

str

Forward-policy current DNS outstanding requests

fwd_policy_snat_fail

str

Forward-policy source-nat translation failure

fwd_policy_hits

str

Number of forward-policy requests for this policy template

fwd_policy_forward_to_internet

str

Number of forward-policy requests forwarded to internet

fwd_policy_forward_to_service_group

str

Number of forward-policy requests forwarded to service group

fwd_policy_forward_to_proxy

str

Number of forward-policy requests forwarded to proxy

fwd_policy_policy_drop

str

Number of forward-policy requests dropped

fwd_policy_source_match_not_found

str

Forward-policy requests without matching source rule

exp_client_hello_not_found

str

Expected Client HELLO requests not found

name

str

Policy template 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