Skip to content

Commit 5325ba6

Browse files
authored
[READY] facts.inventory: add uplink check to wasgeht (#1158)
2 parents 84de527 + 01832da commit 5325ba6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

facts/inventory.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,17 @@ def generatezones(switches, routers, pis, aps, servers, outputdir):
10331033

10341034
def generatewasgehtconfig(switches, routers, pis, aps, servers, outputdir):
10351035
wasgehtconfig = {}
1036+
wasgehtconfig["uplink"] = {
1037+
"checks": {
1038+
"ping": {"addresses": ["2001:470:c:3d::1", "4.8.155.1"]},
1039+
"http": {
1040+
"urls": [
1041+
"https://www.google.com",
1042+
"https://www.socallinuxexpo.org/scale/23x",
1043+
]
1044+
},
1045+
}
1046+
}
10361047
for switch in switches:
10371048
entry = {
10381049
"tags": {

0 commit comments

Comments
 (0)