a10_slb_template_doh
Synopsis
DNS over HTTP(s) 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 |
DNS over HTTP(s) Template Name |
||
non_dns_request str |
‘allow’= Forward Non-DoH request to http server bound to vport; ‘reject’= Reject Non-DoH requests with HTTP 400 Bad Request (Default); |
||
reject_status_code str |
‘400’= Status Code 400 BAD Request (Default); ‘500’= Status Code 500 Internal Server Error; ‘501’= Status Code 501 Not Implemented; |
||
source_nat str |
‘auto’= Perform Source NAT Auto for service-group(Default) (Not supported with forwarding-ip); ‘disable’= Don’t perform source-nat for server side DNS queries; ‘pool’= Perform Source NAT with specific pool; |
||
snat_pool str |
Source NAT pool or pool group |
||
tcp_proxy str |
TCP Proxy Template Name |
||
shared_partition_tcp_proxy_template bool |
Reference a TCP Proxy template from shared partition |
||
template_tcp_proxy_shared str |
TCP Proxy Template name |
||
conn_reuse str |
‘enable’= Enable Connection Reuse; ‘disable’= Disable Connection-Reuse (Default); |
||
uuid str |
uuid of the object |
||
user_tag str |
Customized tag |
||
forwarder dict |
Field forwarder |
||
forwarding_ipv4 str |
SLB VIP IPv4 address to forward DOH query (IP address) |
||
v4_internal bool |
Try to find this IP as a VIP in this L3v Partition and forward it internally to the VIP |
||
v4_port int |
Forwarding port number, Default is 53 |
||
v4_l4_proto str |
‘tcp’= Use TCP only when forwarding DNS traffic; ‘udp’= Use UDP only when forwarding DNS traffic; ‘both’= Use UDP 1st and if unreachable, retry with TCP when forwarding DNS traffic; |
||
forwarding_ipv6 str |
SLB VIP IPv6 address to forward DOH query (IP address) |
||
v6_internal bool |
Try to find this IP as a VIP in this L3v Partition and forward it internally to the VIP |
||
v6_port int |
Forwarding port number, Default is 53 |
||
v6_l4_proto str |
‘tcp’= Use TCP only when forwarding DNS traffic; ‘udp’= Use UDP only when forwarding DNS traffic; ‘both’= Use UDP 1st and if unreachable, retry with TCP when forwarding DNS traffic; |
||
tcp_service_group str |
Bind a TCP Service Group to the template (Service Group Name) |
||
udp_service_group str |
Bind a UDP Service Group to the template (Service Group Name) |
||
uuid str |
uuid of the object |
||
dns_retry dict |
Field dns_retry |
||
retry_interval int |
DNS Retry Interval value 1 - 400 in units of 100ms, default is 10 (default is 1000ms) (1 - 400 in units of 100ms, default is 10 (1000ms/1sec)) |
||
after_timeout str |
‘close’= Close client side connection; ‘retry-with-tcp’= Retry DNS query to server using TCP (If UDP was tried initially. Close after.); |
||
max_trials int |
Total number of times to try DNS query to server before closing client connection, default 3 |
||
uuid str |
uuid of the object |
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.