mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Refactors bigip_node (#33492)
* Refactors bigip_node Includes a number of fixes and enhancements in addition to refactoring the code to be inline with f5 standards * Fixes upstream errors
This commit is contained in:
25
test/units/modules/network/f5/fixtures/load_ltm_node_1.json
Normal file
25
test/units/modules/network/f5/fixtures/load_ltm_node_1.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"kind": "tm:ltm:node:nodestate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 158,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/node/~Common~foo?ver=13.0.0",
|
||||
"address": "1.2.3.4",
|
||||
"connectionLimit": 0,
|
||||
"description": "my description of node",
|
||||
"dynamicRatio": 1,
|
||||
"ephemeral": "false",
|
||||
"fqdn": {
|
||||
"addressFamily": "ipv4",
|
||||
"autopopulate": "disabled",
|
||||
"downInterval": 5,
|
||||
"interval": "3600"
|
||||
},
|
||||
"logging": "disabled",
|
||||
"monitor": "default",
|
||||
"rateLimit": "disabled",
|
||||
"ratio": 1,
|
||||
"session": "user-enabled",
|
||||
"state": "unchecked"
|
||||
}
|
||||
24
test/units/modules/network/f5/fixtures/load_ltm_node_3.json
Normal file
24
test/units/modules/network/f5/fixtures/load_ltm_node_3.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"kind": "tm:ltm:node:nodestate",
|
||||
"name": "mytestserver",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/mytestserver",
|
||||
"generation": 2286,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/node/~Common~mytestserver?ver=13.0.0",
|
||||
"address": "10.20.30.40",
|
||||
"connectionLimit": 0,
|
||||
"dynamicRatio": 1,
|
||||
"ephemeral": "false",
|
||||
"fqdn": {
|
||||
"addressFamily": "ipv4",
|
||||
"autopopulate": "disabled",
|
||||
"downInterval": 5,
|
||||
"interval": "3600"
|
||||
},
|
||||
"logging": "disabled",
|
||||
"monitor": "/Common/icmp ",
|
||||
"rateLimit": "disabled",
|
||||
"ratio": 1,
|
||||
"session": "monitor-enabled",
|
||||
"state": "down"
|
||||
}
|
||||
Reference in New Issue
Block a user