a10_gslb_site

Synopsis

Specify a GSLB site

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

site_name

str/required

Specify GSLB site name

auto_map

bool

Enable DNS Auto Mapping

disable

bool

Disable all servers in the GSLB site

weight

int

Specify a weight for the GSLB site (Weight, default is 1)

multiple_geo_locations

list

Field multiple_geo_locations

geo_location

str

Specify the geographic location of the GSLB site (Specify geo-location for this site)

template

str

Specify template to collect site information (Specify GSLB SNMP template name)

bw_cost

bool

Specify cost of band-width

limit

int

Specify the limit for bandwidth, default is unlimited

threshold

int

Specify the threshold for limit

proto_aging_time

int

Specify GSLB Protocol aging time

proto_aging_fast

bool

Fast GSLB Protocol aging

controller

str

Specify the local controller for the GSLB site (Specify the hostname of the local controller)

uuid

str

uuid of the object

user_tag

str

Customized tag

ip_server_list

list

Field ip_server_list

ip_server_name

str

Specify the real server name

uuid

str

uuid of the object

active_rdt

dict

Field active_rdt

aging_time

int

Aging Time, Unit= min, default is 10

smooth_factor

int

Factor of Smooth RDT, default is 10

range_factor

int

Factor of RDT Range, default is 25 (Range Factor of Smooth RDT)

limit

int

Limit of valid RDT, default is 16383 (Limit, unit= millisecond)

mask

str

Client IP subnet mask, default is 32

ipv6_mask

int

Client IPv6 subnet mask, default is 128

ignore_count

int

Ignore count if RDT is out of range, default is 5

bind_geoloc

bool

Bind RDT to geo-location

overlap

bool

Enable overlap for geo-location to do longest match

uuid

str

uuid of the object

easy_rdt

dict

Field easy_rdt

aging_time

int

Aging Time, Unit= min, default is 10

smooth_factor

int

Factor of Smooth RDT, default is 10

range_factor

int

Factor of RDT Range, default is 25 (Range Factor of Smooth RDT)

limit

int

Limit of valid RDT, default is 16383 (Limit, unit= millisecond)

mask

str

Client IP subnet mask, default is 32

ipv6_mask

int

Client IPv6 subnet mask, default is 128

ignore_count

int

Ignore count if RDT is out of range, default is 5

bind_geoloc

bool

Bind RDT to geo-location

overlap

bool

Enable overlap for geo-location to do longest match

uuid

str

uuid of the object

slb_dev_list

list

Field slb_dev_list

device_name

str

Specify SLB device name

ip_address

str

IP address

ipv6_address

str

IPv6 address

domain

str

Device hostname

dev_resolve_as

str

‘resolve-to-ipv4’= Use A Query only to resolve FQDN (Default Query type); ‘resolve-to-ipv6’= Use AAAA Query only to resolve FQDN; ‘resolve-to-ipv4-and- ipv6’= Use A as well as AAAA Query to resolve FQDN;

admin_preference

int

Specify administrative preference (Specify admin-preference value,default is 100)

session_number

int

Field session_number

session_utilization

int

Field session_utilization

rdt_type

str

‘rdt’= rdt; ‘site-rdt’= site-rdt;

client_ip

str

Specify client IP address

rdt_value

int

Specify Round-delay-time

probe_timer

int

Field probe_timer

auto_detect

str

‘ip’= Service IP only; ‘port’= Service Port only; ‘ip-and-port’= Both service IP and service port; ‘disabled’= disable auto-detect;

auto_map

bool

Enable DNS Auto Mapping

max_client

int

Specify maximum number of clients, default is 32768

proto_aging_time

int

Specify GSLB Protocol aging time, default is 60

proto_aging_fast

bool

Fast GSLB Protocol aging

health_check_action

str

‘health-check’= Enable health Check; ‘health-check-disable’= Disable health check;

gateway_ip_addr

str

IP address

proto_compatible

bool

Run GSLB Protocol in compatible mode

msg_format_acos_2x

bool

Run GSLB Protocol in compatible mode with a ACOS 2.x GSLB peer

uuid

str

uuid of the object

user_tag

str

Customized tag

vip_server

dict

Field vip_server

oper

dict

Field oper

gslb_site

str

Field gslb_site

state

str

Field state

type_last

list

Field type_last

client_ldns_list

list

Field client_ldns_list

site_name

str

Specify GSLB site name

ip_server_list

list

Field ip_server_list

slb_dev_list

list

Field slb_dev_list

stats

dict

Field stats

hits

str

Number of times the site was selected

site_name

str

Specify GSLB site name

ip_server_list

list

Field ip_server_list

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