Adds refactored bigip_monitor_tcp (#26842)
This module needed to be refactored to use the REST API and coding conventions for newer modules. This patch adds those changes. This patch also deprecates params in favor of separate modules. These deprecated params will be removed in 2.5. Unit tests are provided. Integration tests can be found here https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_monitor_tcp.yaml#L23 https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_monitor_tcp/tasks
This commit is contained in:
parent
593297d7a2
commit
09e9b4b4ba
3 changed files with 2035 additions and 392 deletions
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:ltm:monitor:tcp:tcpstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/monitor/tcp/~Common~foo?ver=12.1.0",
|
||||
"adaptive": "disabled",
|
||||
"adaptiveDivergenceType": "relative",
|
||||
"adaptiveDivergenceValue": 25,
|
||||
"adaptiveLimit": 200,
|
||||
"adaptiveSamplingTimespan": 300,
|
||||
"defaultsFrom": "/Common/tcp",
|
||||
"destination": "10.10.10.10:80",
|
||||
"interval": 20,
|
||||
"ipDscp": 0,
|
||||
"manualResume": "disabled",
|
||||
"recv": "this is a receive string",
|
||||
"reverse": "disabled",
|
||||
"send": "this is a send string",
|
||||
"timeUntilUp": 60,
|
||||
"timeout": 30,
|
||||
"transparent": "disabled",
|
||||
"upInterval": 0
|
||||
}
|
1130
test/units/modules/network/f5/test_bigip_monitor_tcp.py
Normal file
1130
test/units/modules/network/f5/test_bigip_monitor_tcp.py
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue