a10_slb_smtp
Synopsis
Configure SMTP
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 |
||
uuid str |
uuid of the object |
||
sampling_enable list |
Field sampling_enable |
||
counters1 str |
‘all’= all; ‘curr_proxy’= Current proxy conns; ‘total_proxy’= Total proxy conns; ‘request’= SMTP requests; ‘request_success’= SMTP requests (success); ‘no_proxy’= No proxy error; ‘client_reset’= Client reset; ‘server_reset’= Server reset; ‘no_tuple’= No tuple error; ‘parse_req_fail’= Parse request failure; ‘server_select_fail’= Server selection failure; ‘forward_req_fail’= Forward request failure; ‘forward_req_data_fail’= Forward REQ data failure; ‘req_retran’= Request retransmit; ‘req_ofo’= Request pkt out-of-order; ‘server_reselect’= Server reselection; ‘server_prem_close’= Server premature close; ‘new_server_conn’= Server connection made; ‘snat_fail’= Source NAT failure; ‘tcp_out_reset’= TCP out reset; ‘Aflex_switch’= aFleX switching; ‘Aflex_switch_ok’= aFleX switching (succ); ‘recv_client_command_EHLO’= Recv client EHLO; ‘recv_client_command_HELO’= Recv client HELO; ‘recv_client_command_MAIL’= Recv client MAIL; ‘recv_client_command_RCPT’= Recv client RCPT; ‘recv_client_command_DATA’= Recv client DATA; ‘recv_client_command_RSET’= Recv client RSET; ‘recv_client_command_VRFY’= Recv client VRFY; ‘recv_client_command_EXPN’= Recv client EXPN; ‘recv_client_command_HELP’= Recv client HELP; ‘recv_client_command_NOOP’= Recv client NOOP; ‘recv_client_command_QUIT’= Recv client QUIT; ‘recv_client_command_STARTTLS’= Recv client STARTTLS; ‘recv_client_command_others’= Recv client other cmds; ‘send_client_service_ready’= Sent client serv-rdy; ‘send_client_service_not_ready’= Sent client serv-not-rdy; ‘send_client_close_connection’= Sent client close-conn; ‘send_client_go_ahead’= Sent client go-ahead; ‘send_client_start_TLS_first’= Sent client STARTTLS-1st; ‘send_client_TLS_not_available’= Sent client TLS-not-aval; ‘send_client_no_command’= Sent client no-such-cmd; ‘send_server_cmd_reset’= Sent server RSET; ‘TLS_established’= SSL session established; ‘L4_switch’= L4 switching; ‘recv_server_service_not_ready’= Recv server serv-not-rdy; ‘recv_server_unknow_reply_code’= Recv server unknown-code; ‘client_domain_switch’= Client domain switching; ‘client_domain_switch_ok’= Client domain sw (succ); ‘LB_switch’= LB switching; ‘LB_switch_ok’= LB switching (succ); ‘read_request_line_fail’= Read request line fail; ‘get_all_headers_fail’= Get all headers fail; ‘too_many_headers’= Too many headers; ‘line_too_long’= Line too long; ‘line_across_packet’= Line across packets; ‘line_extend’= Line extend; ‘line_extend_fail’= Line extend fail; ‘line_table_extend’= Table extend; ‘line_table_extend_fail’= Table extend fail; ‘parse_request_line_fail’= Parse request line fail; ‘insert_resonse_line_fail’= Ins response line fail; ‘remove_resonse_line_fail’= Del response line fail; ‘parse_resonse_line_fail’= Parse response line fail; ‘Aflex_lb_reselect’= aFleX lb reselect; ‘Aflex_lb_reselect_ok’= aFleX lb reselect (succ); ‘server_STARTTLS_init’= Init server side STARTTLS; ‘server_STARTTLS_fail’= Server side STARTTLS fail; ‘rserver_STARTTLS_disable’= real server not support STARTTLS; ‘recv_client_command_TURN’= Recv client TURN; ‘recv_client_command_ETRN’= Recv client ETRN; ‘send_server_ehlo’= Proxy sends server EHLO; ‘fail_to_save_client_ehlo’= Failed to save client EHLO; ‘aflex_mail_fail’= aFlex Mail event failed; ‘drop_server_ehlo_ok’= Server EHLO_OK dropped; ‘client_ehlo_saved’= Client EHLO saved; |
||
oper dict |
Field oper |
||
smtp_cpu_list list |
Field smtp_cpu_list |
||
cpu_count int |
Field cpu_count |
||
stats dict |
Field stats |
||
curr_proxy str |
Current proxy conns |
||
total_proxy str |
Total proxy conns |
||
request str |
SMTP requests |
||
request_success str |
SMTP requests (success) |
||
no_proxy str |
No proxy error |
||
client_reset str |
Client reset |
||
server_reset str |
Server reset |
||
no_tuple str |
No tuple error |
||
parse_req_fail str |
Parse request failure |
||
server_select_fail str |
Server selection failure |
||
forward_req_fail str |
Forward request failure |
||
forward_req_data_fail str |
Forward REQ data failure |
||
req_retran str |
Request retransmit |
||
req_ofo str |
Request pkt out-of-order |
||
server_reselect str |
Server reselection |
||
server_prem_close str |
Server premature close |
||
new_server_conn str |
Server connection made |
||
snat_fail str |
Source NAT failure |
||
tcp_out_reset str |
TCP out reset |
||
Aflex_switch str |
aFleX switching |
||
Aflex_switch_ok str |
aFleX switching (succ) |
||
recv_client_command_EHLO str |
Recv client EHLO |
||
recv_client_command_HELO str |
Recv client HELO |
||
recv_client_command_MAIL str |
Recv client MAIL |
||
recv_client_command_RCPT str |
Recv client RCPT |
||
recv_client_command_DATA str |
Recv client DATA |
||
recv_client_command_RSET str |
Recv client RSET |
||
recv_client_command_VRFY str |
Recv client VRFY |
||
recv_client_command_EXPN str |
Recv client EXPN |
||
recv_client_command_HELP str |
Recv client HELP |
||
recv_client_command_NOOP str |
Recv client NOOP |
||
recv_client_command_QUIT str |
Recv client QUIT |
||
recv_client_command_STARTTLS str |
Recv client STARTTLS |
||
recv_client_command_others str |
Recv client other cmds |
||
send_client_service_ready str |
Sent client serv-rdy |
||
send_client_service_not_ready str |
Sent client serv-not-rdy |
||
send_client_close_connection str |
Sent client close-conn |
||
send_client_go_ahead str |
Sent client go-ahead |
||
send_client_start_TLS_first str |
Sent client STARTTLS-1st |
||
send_client_TLS_not_available str |
Sent client TLS-not-aval |
||
send_client_no_command str |
Sent client no-such-cmd |
||
send_server_cmd_reset str |
Sent server RSET |
||
TLS_established str |
SSL session established |
||
L4_switch str |
L4 switching |
||
recv_server_service_not_ready str |
Recv server serv-not-rdy |
||
recv_server_unknow_reply_code str |
Recv server unknown-code |
||
client_domain_switch str |
Client domain switching |
||
client_domain_switch_ok str |
Client domain sw (succ) |
||
LB_switch str |
LB switching |
||
LB_switch_ok str |
LB switching (succ) |
||
read_request_line_fail str |
Read request line fail |
||
get_all_headers_fail str |
Get all headers fail |
||
too_many_headers str |
Too many headers |
||
line_too_long str |
Line too long |
||
line_across_packet str |
Line across packets |
||
line_extend str |
Line extend |
||
line_extend_fail str |
Line extend fail |
||
line_table_extend str |
Table extend |
||
line_table_extend_fail str |
Table extend fail |
||
parse_request_line_fail str |
Parse request line fail |
||
insert_resonse_line_fail str |
Ins response line fail |
||
remove_resonse_line_fail str |
Del response line fail |
||
parse_resonse_line_fail str |
Parse response line fail |
||
Aflex_lb_reselect str |
aFleX lb reselect |
||
Aflex_lb_reselect_ok str |
aFleX lb reselect (succ) |
||
server_STARTTLS_init str |
Init server side STARTTLS |
||
server_STARTTLS_fail str |
Server side STARTTLS fail |
||
rserver_STARTTLS_disable str |
real server not support STARTTLS |
||
recv_client_command_TURN str |
Recv client TURN |
||
recv_client_command_ETRN str |
Recv client ETRN |
||
send_server_ehlo str |
Proxy sends server EHLO |
||
fail_to_save_client_ehlo str |
Failed to save client EHLO |
||
aflex_mail_fail str |
aFlex Mail event failed |
||
drop_server_ehlo_ok str |
Server EHLO_OK dropped |
||
client_ehlo_saved str |
Client EHLO saved |
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.