mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Refactors bigip_vlan (#33489)
This patch adds tests and refactors the code to be inline with current f5 coding standards
This commit is contained in:
30
test/units/modules/network/f5/fixtures/load_vlan.json
Normal file
30
test/units/modules/network/f5/fixtures/load_vlan.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"kind": "tm:net:vlan:vlanstate",
|
||||
"name": "somevlan",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/somevlan",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/vlan/~Common~somevlan?ver=12.1.0",
|
||||
"autoLasthop": "default",
|
||||
"cmpHash": "default",
|
||||
"dagRoundRobin": "disabled",
|
||||
"dagTunnel": "outer",
|
||||
"failsafe": "disabled",
|
||||
"failsafeAction": "failover-restart-tm",
|
||||
"failsafeTimeout": 90,
|
||||
"ifIndex": 480,
|
||||
"learning": "enable-forward",
|
||||
"mtu": 1500,
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes",
|
||||
"samplingRate": 0,
|
||||
"samplingRateGlobal": "yes"
|
||||
},
|
||||
"sourceChecking": "disabled",
|
||||
"tag": 4094,
|
||||
"interfacesReference": {
|
||||
"link": "https://localhost/mgmt/tm/net/vlan/~Common~somevlan/interfaces?ver=12.1.0",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user