a10_slb_sip

Synopsis

Configure SIP

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; ‘msg_proxy_current’= Number of current sip proxy connections; ‘msg_proxy_total’= Total number of sip proxy connections; ‘msg_proxy_mem_allocd’= some help string; ‘msg_proxy_mem_cached’= some help string; ‘msg_proxy_mem_freed’= some help string; ‘msg_proxy_client_recv’= Number of SIP messages received from client; ‘msg_proxy_client_send_success’= Number of SIP messages received from client and forwarded to server; ‘msg_proxy_client_incomplete’= Number of packet which contains incomplete message; ‘msg_proxy_client_drop’= Number of AX drop; ‘msg_proxy_client_connection’= Connecting server; ‘msg_proxy_client_fail’= Number of SIP messages received from client but failed to forward to server; ‘msg_proxy_client_fail_parse’= msg_proxy_client_fail_parse; ‘msg_proxy_client_fail_process’= msg_proxy_client_fail_process; ‘msg_proxy_client_fail_snat’= msg_proxy_client_fail_snat; ‘msg_proxy_client_exceed_tmp_buff’= msg_proxy_client_exceed_tmp_buff; ‘msg_proxy_client_fail_send_pkt’= msg_proxy_client_fail_send_pkt; ‘msg_proxy_client_fail_start_server_Conn’= msg_proxy_client_fail_start_server_Conn; ‘msg_proxy_server_recv’= Number of SIP messages received from server; ‘msg_proxy_server_send_success’= Number of SIP messages received from server and forwarded to client; ‘msg_proxy_server_incomplete’= Number of packet which contains incomplete message; ‘msg_proxy_server_drop’= Number of AX drop; ‘msg_proxy_server_fail’= Number of SIP messages received from server but failed to forward to client; ‘msg_proxy_server_fail_parse’= some help string; ‘msg_proxy_server_fail_process’= some help string; ‘msg_proxy_server_fail_selec_connt’= some help string; ‘msg_proxy_server_fail_snat’= some help string; ‘msg_proxy_server_exceed_tmp_buff’= some help string; ‘msg_proxy_server_fail_send_pkt’= some help string; ‘msg_proxy_create_server_conn’= Number of server connection system tries to create; ‘msg_proxy_start_server_conn’= Number of server connection created successfully; ‘msg_proxy_fail_start_server_conn’= Number of server connection create failed; ‘msg_proxy_server_conn_fail_snat’= some help string; ‘msg_proxy_fail_construct_server_conn’= some help string; ‘msg_proxy_fail_reserve_pconn’= some help string; ‘msg_proxy_start_server_conn_failed’= some help string; ‘msg_proxy_server_conn_already_exists’= some help string; ‘msg_proxy_fail_insert_server_conn’= some help string; ‘msg_proxy_parse_msg_fail’= some help string; ‘msg_proxy_process_msg_fail’= msg_proxy_process_msg_fail; ‘msg_proxy_no_vport’= some help string; ‘msg_proxy_fail_select_server’= some help string; ‘msg_proxy_fail_alloc_mem’= some help string; ‘msg_proxy_unexpected_err’= some help string; ‘msg_proxy_l7_cpu_failed’= some help string; ‘msg_proxy_l4_to_l7’= some help string; ‘msg_proxy_l4_from_l7’= some help string; ‘msg_proxy_to_l4_send_pkt’= some help string; ‘msg_proxy_l4_from_l4_send’= some help string; ‘msg_proxy_l7_to_L4’= some help string; ‘msg_proxy_mag_back’= some help string; ‘msg_proxy_fail_dcmsg’= some help string; ‘msg_proxy_deprecated_conn’= some help string; ‘msg_proxy_hold_msg’= some help string; ‘msg_proxy_split_pkt’= some help string; ‘msg_proxy_pipline_msg’= some help string; ‘msg_proxy_client_reset’= some help string; ‘msg_proxy_server_reset’= some help string; ‘session_created’= SIP Session created; ‘session_freed’= SIP Session freed; ‘session_in_rml’= some help string; ‘session_invalid’= some help string; ‘conn_allocd’= some help string; ‘conn_freed’= some help string; ‘session_callid_allocd’= some help string; ‘session_callid_freed’= some help string; ‘line_mem_allocd’= some help string; ‘line_mem_freed’= some help string; ‘table_mem_allocd’= some help string; ‘table_mem_freed’= some help string; ‘cmsg_no_uri_header’= some help string; ‘cmsg_no_uri_session’= some help string; ‘sg_no_uri_header’= some help string; ‘smsg_no_uri_session’= some help string; ‘line_too_long’= line_too_long; ‘fail_read_start_line’= fail_read_start_line; ‘fail_parse_start_line’= fail_parse_start_line; ‘invalid_start_line’= invalid_start_line; ‘request_unknown_version’= request_unknown_version; ‘response_unknown_version’= some help string; ‘request_unknown’= request_unknown; ‘fail_parse_headers’= fail_parse_headers; ‘too_many_headers’= some help string; ‘invalid_header’= some help string; ‘header_name_too_long’= some help string; ‘body_too_big’= body_too_big; ‘fail_get_counter’= fail_get_counter; ‘msg_no_call_id’= some help string; ‘identify_dir_failed’= some help string; ‘no_sip_request’= some help string; ‘deprecated_msg’= some help string; ‘fail_insert_callid_session’= some help string; ‘fail_insert_uri_session’= some help string; ‘fail_insert_header’= some help string; ‘select_server_conn’= some help string; ‘select_server_conn_by_callid’= some help string; ‘select_server_conn_by_uri’= some help string; ‘select_server_conn_by_rev_tuple’= some help string; ‘select_server_conn_failed’= some help string; ‘select_client_conn’= some help string; ‘X_forward_for_select_client’= some help string; ‘call_id_select_client’= some help string; ‘uri_select_client’= some help string; ‘client_select_failed’= some help string; ‘acl_denied’= some help string; ‘assemble_frag_failed’= some help string; ‘wrong_ip_version’= wrong_ip_version; ‘size_too_large’= size_too_large; ‘fail_split_fragment’= some help string; ‘client_keepalive_received’= some help string; ‘server_keepalive_received’= some help string; ‘client_keepalive_send’= some help string; ‘server_keepalive_send’= some help string; ‘ax_health_check_received’= some help string; ‘client_request’= some help string; ‘client_request_ok’= some help string; ‘concatenate_msg’= some help string; ‘save_uri’= some help string; ‘save_uri_ok’= some help string; ‘save_call_id’= some help string; ‘save_call_id_ok’= some help string; ‘msg_translation’= some help string; ‘msg_translation_fail’= msg_translation_fail; ‘msg_trans_start_line’= some help string; ‘msg_trans_start_headers’= some help string; ‘msg_trans_body’= some help string; ‘request_register’= some help string; ‘request_invite’= some help string; ‘request_ack’= some help string; ‘request_cancel’= some help string; ‘request_bye’= some help string; ‘request_options’= some help string; ‘request_prack’= some help string; ‘request_subscribe’= some help string; ‘request_notify’= some help string; ‘request_publish’= some help string; ‘request_info’= some help string; ‘request_refer’= some help string; ‘request_message’= some help string; ‘request_update’= some help string; ‘response_unknown’= some help string; ‘response_1XX’= some help string; ‘response_2XX’= some help string; ‘response_3XX’= some help string; ‘response_4XX’= some help string; ‘response_5XX’= some help string; ‘response_6XX’= some help string; ‘ha_send_sip_session’= some help string; ‘ha_send_sip_session_ok’= some help string; ‘ha_fail_get_msg_header’= ha_fail_get_msg_header; ‘ha_recv_sip_session’= some help string; ‘ha_insert_sip_session_ok’= some help string; ‘ha_update_sip_session_ok’= some help string; ‘ha_invalid_pkt’= some help string; ‘ha_fail_alloc_sip_session’= some help string; ‘ha_fail_alloc_call_id’= some help string; ‘ha_fail_clone_sip_session’= some help string; ‘save_smp_call_id_rtp’= some help string; ‘update_smp_call_id_rtp’= some help string; ‘smp_call_id_rtp_session_match’= some help string; ‘smp_call_id_rtp_session_not_match’= some help string; ‘process_error_when_message_switch’= some help string;

oper

dict

Field oper

sip_cpu_list

list

Field sip_cpu_list

cpu_count

int

Field cpu_count

filter_type

str

Field filter_type

stats

dict

Field stats

msg_proxy_current

str

Number of current sip proxy connections

msg_proxy_total

str

Total number of sip proxy connections

msg_proxy_client_recv

str

Number of SIP messages received from client

msg_proxy_client_send_success

str

Number of SIP messages received from client and forwarded to server

msg_proxy_client_incomplete

str

Number of packet which contains incomplete message

msg_proxy_client_drop

str

Number of AX drop

msg_proxy_client_connection

str

Connecting server

msg_proxy_client_fail

str

Number of SIP messages received from client but failed to forward to server

msg_proxy_server_recv

str

Number of SIP messages received from server

msg_proxy_server_send_success

str

Number of SIP messages received from server and forwarded to client

msg_proxy_server_incomplete

str

Number of packet which contains incomplete message

msg_proxy_server_drop

str

Number of AX drop

msg_proxy_server_fail

str

Number of SIP messages received from server but failed to forward to client

msg_proxy_create_server_conn

str

Number of server connection system tries to create

msg_proxy_start_server_conn

str

Number of server connection created successfully

msg_proxy_fail_start_server_conn

str

Number of server connection create failed

session_created

str

SIP Session created

session_freed

str

SIP Session freed

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 2021