a10_slb_service_group_member¶
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 |
||
service_group_name str/required |
Key to identify parent object |
||
name str/required |
Member name |
||
port int/required |
Port number |
||
fqdn_name str |
Server hostname - Not applicable if real server is already defined |
||
resolve_as str |
‘resolve-to-ipv4’= Use A Query only to resolve FQDN; ‘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; |
||
host str |
IP Address - Not applicable if real server is already defined |
||
server_ipv6_addr str |
IPV6 Address - Not applicable if real server is already defined |
||
member_state str |
‘enable’= Enable member service port; ‘disable’= Disable member service port; ‘disable-with-health-check’= disable member service port, but health check work; |
||
member_stats_data_disable bool |
Disable statistical data collection |
||
member_template str |
Real server port template (Real server port template name) |
||
member_priority int |
Priority of Port in the Group (Priority of Port in the Group, default is 1) |
||
uuid str |
uuid of the object |
||
user_tag str |
Customized tag |
||
sampling_enable list |
Field sampling_enable |
||
counters1 str |
‘all’= all; ‘total_fwd_bytes’= Bytes processed in forward direction; ‘total_fwd_pkts’= Packets processed in forward direction; ‘total_rev_bytes’= Bytes processed in reverse direction; ‘total_rev_pkts’= Packets processed in reverse direction; ‘total_conn’= Total established connections; ‘total_rev_pkts_inspected’= Total reverse packets inspected; ‘total_rev_pkts_inspected_status_code_2xx’= Total reverse packets inspected status code 2xx; ‘total_rev_pkts_inspected_status_code_non_5xx’= Total reverse packets inspected status code non 5xx; ‘curr_req’= Current requests; ‘total_req’= Total requests; ‘total_req_succ’= Total requests successful; ‘peak_conn’= Peak connections; ‘response_time’= Response time; ‘fastest_rsp_time’= Fastest response time; ‘slowest_rsp_time’= Slowest response time; ‘curr_ssl_conn’= Current SSL connections; ‘total_ssl_conn’= Total SSL connections; ‘curr_conn_overflow’= Current connection counter overflow count; ‘state_flaps’= State flaps count; |
||
oper dict |
Field oper |
||
state str |
Field state |
||
hm_key int |
Field hm_key |
||
hm_index int |
Field hm_index |
||
drs_list list |
Field drs_list |
||
alt_list list |
Field alt_list |
||
name str |
Member name |
||
port int |
Port number |
||
stats dict |
Field stats |
||
curr_conn str |
Current established connections |
||
total_fwd_bytes str |
Bytes processed in forward direction |
||
total_fwd_pkts str |
Packets processed in forward direction |
||
total_rev_bytes str |
Bytes processed in reverse direction |
||
total_rev_pkts str |
Packets processed in reverse direction |
||
total_conn str |
Total established connections |
||
total_rev_pkts_inspected str |
Total reverse packets inspected |
||
total_rev_pkts_inspected_status_code_2xx str |
Total reverse packets inspected status code 2xx |
||
total_rev_pkts_inspected_status_code_non_5xx str |
Total reverse packets inspected status code non 5xx |
||
curr_req str |
Current requests |
||
total_req str |
Total requests |
||
total_req_succ str |
Total requests successful |
||
peak_conn str |
Peak connections |
||
response_time str |
Response time |
||
fastest_rsp_time str |
Fastest response time |
||
slowest_rsp_time str |
Slowest response time |
||
curr_ssl_conn str |
Current SSL connections |
||
total_ssl_conn str |
Total SSL connections |
||
curr_conn_overflow str |
Current connection counter overflow count |
||
state_flaps str |
State flaps count |
||
name str |
Member name |
||
port int |
Port number |
Examples¶
- name: Add member mem6 to service group sg1_80
a10.acos_axapi.a10_slb_service_group_member:
service_group_name: sg1_80
name: mem6
port: 80
host: 1.1.1.7
- name: Disable member mem6 in service group sg1_80
a10.acos_axapi.a10_slb_service_group_member:
service_group_name: sg1_80
name: mem6
port: 80
host: 1.1.1.7
member_state: disable
- name: Delete membmer mem6 from service group sg1_80
a10.acos_axapi.a10_slb_service_group_member:
service_group_name: sg1_80
name: mem6
port: 80
host: 1.1.1.7
state: absent