a10_sys_ut
Synopsis
System unit test
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 |
||
action str |
‘enable’= Set device to SUT mode; ‘disable’= Set device to normal mode; |
||
test_name str |
Name for this test case |
||
secondary_name str |
Minor test case name. This is autogenerated |
||
uuid str |
uuid of the object |
||
run_test dict |
Field run_test |
||
mode str |
‘basic’= Run Basic mode; ‘fault-injection’= Run FI mode. This will also run Basic mode to gather data; ‘cpu-rr’= Run CPU RR mode; ‘frag’= Run IP frag mode; |
||
common dict |
Field common |
||
proceed_on_error bool |
Run test even in case of event failure |
||
delay int |
wait time in seconds after each run |
||
uuid str |
uuid of the object |
||
template_list list |
Field template_list |
||
name str |
template name |
||
uuid str |
uuid of the object |
||
user_tag str |
Customized tag |
||
ignore_validation dict |
Field ignore_validation |
||
l1 dict |
Field l1 |
||
l2 dict |
Field l2 |
||
l3 dict |
Field l3 |
||
tcp dict |
Field tcp |
||
udp dict |
Field udp |
||
event_list list |
Field event_list |
||
event_number int |
Event number |
||
uuid str |
uuid of the object |
||
user_tag str |
Customized tag |
||
action_list list |
Field action_list |
||
state_list list |
Field state_list |
||
name str |
Node name |
||
uuid str |
uuid of the object |
||
user_tag str |
Customized tag |
||
next_state_list list |
Field next_state_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.