a10_slb_template_port

Synopsis

Port template

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

Port template name

conn_limit

int

Connection limit

resume

int

Resume accepting new connection after connection number drops below threshold (Connection resume threshold)

conn_limit_no_logging

bool

Do not log connection over limit event

conn_rate_limit

int

Connection rate limit

rate_interval

str

‘100ms’= Use 100 ms as sampling interval; ‘second’= Use 1 second as sampling interval;

conn_rate_limit_no_logging

bool

Do not log connection over limit event

request_rate_limit

int

Request rate limit

request_rate_interval

str

‘100ms’= Use 100 ms as sampling interval; ‘second’= Use 1 second as sampling interval;

reset

bool

Send client reset when connection rate over limit

request_rate_no_logging

bool

Do not log connection over limit event

dest_nat

bool

Destination NAT

down_grace_period

int

Port down grace period (Down grace period in seconds)

del_session_on_server_down

bool

Delete session if the server/port goes down (either disabled/hm down)

dscp

int

Differentiated Services Code Point (DSCP to Real Server IP Mapping Value)

dynamic_member_priority

int

Set dynamic member’s priority (Initial priority (default is 16))

decrement

int

Decrease after every round of DNS query (default is 0)

extended_stats

bool

Enable extended statistics on real server port

no_ssl

bool

No SSL

stats_data_action

str

‘stats-data-enable’= Enable statistical data collection for real server port; ‘stats-data-disable’= Disable statistical data collection for real server port;

health_check

str

Health Check Monitor (Health monitor name)

health_check_disable

bool

Disable configured health check configuration

inband_health_check

bool

Use inband traffic to detect port’s health status

retry

int

Maximum retry times before reassign this connection to another server/port (default is 2) (The maximum retry number)

reassign

int

Maximum reassign times before declear the server/port down (default is 25) (The maximum reassign number)

down_timer

int

The timer to bring the marked down server/port to up (default is 0, never bring up) (The timer to bring up server (in second, default is 0))

resel_on_reset

bool

When receiving reset from server, do the server/port reselection (default is 0, don’t do reselection)

source_nat

str

Source NAT (IP NAT Pool or pool group name)

shared_partition_pool

bool

Reference a NAT pool or pool-group from shared partition

template_port_pool_shared

str

Source NAT (IP NAT Pool or pool group name)

weight

int

Weight (port weight)

dampening_flaps

int

service dampening flaps count (max-flaps allowed in flap period)

flap_period

int

take service out of rotation if max-flaps exceeded within time in seconds

restore_svc_time

int

put the service back to the rotation after time in seconds

sub_group

int

Divide service group members into different sub groups (Sub group ID (default is 0))

slow_start

bool

Slowly ramp up the connection number after port is up

initial_slow_start

int

Initial slow start connection limit (default 128)

add

int

Slow start connection limit add by a number every interval (Add by this number every interval)

times

int

Slow start connection limit multiply by a number every interval (default 2) (Multiply by this number every interval)

every

int

Slow start connection limit increment interval (default 10)

till

int

Slow start ends when slow start connection limit reaches a number (default 4096) (Slow start ends when connection limit reaches this number)

bw_rate_limit

int

Configure bandwidth rate limit on real server port (Bandwidth rate limit in Kbps)

bw_rate_limit_resume

int

Resume server selection after bandwidth drops below this threshold (in Kbps) (Bandwidth rate limit resume threshold (in Kbps))

bw_rate_limit_duration

int

Duration in seconds the observed rate needs to honor

bw_rate_limit_no_logging

bool

Do not log bandwidth rate limit related state transitions

uuid

str

uuid of the object

user_tag

str

Customized tag

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