Compare commits

..

No commits in common. "master" and "angro-patch-1" have entirely different histories.

7 changed files with 182 additions and 3012 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
kind: pipeline
name: validate-json
steps:
- name: validate ucDevices.json
image: fftdf/docker-json-validate
commands:
- jsonlint ucDevices.json
when:
event: push
- name: validate Devices.json
image: fftdf/docker-json-validate
commands:
- jsonlint devices.json
when:
event: push

View File

@ -1,24 +0,0 @@
---
platform: linux/arm64
pipeline:
validate_Richtfunk_Devices:
image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
commands:
- jsonlint rifu_devices.json
when:
event: push
validate_Router_Devices:
image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
commands:
- jsonlint uisp_router.json
when:
event: push
validate_Unifi_Devices:
image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate
commands:
- jsonlint unifi_devices.json
when:
event: push

5
devices.json Normal file
View File

@ -0,0 +1,5 @@
{
"devices":[
]
}

View File

@ -1,48 +0,0 @@
{
"devices":[
{
"name": "Amtsgericht2Vordach",
"mac": "f4:92:bf:e2:92:b9",
"gateway_nexthop": "18e829aebc4c",
"gateway": "6ab511de3f8e",
"domain": "rifu",
"location": {
"longitude":7.204126,
"latitude":50.795239
}
},
{
"name": "Vordach2Amtsgericht",
"mac": "f4:92:bf:e2:8e:be",
"gateway_nexthop": "18e829aebc4c",
"gateway": "6ab511de3f8e",
"domain": "rifu",
"location": {
"longitude":7.203617,
"latitude":50.795295
}
},
{
"name": "Amtsgericht2SG",
"mac": "b4:fb:e4:64:e0:f2",
"gateway_nexthop": "18e829aebc4c",
"gateway": "6ab511de3f8e",
"domain": "rifu",
"location": {
"longitude":7.203525603,
"latitude":50.795311680
}
},
{
"name": "SG2Amtsgericht",
"mac": "18:e8:29:dc:c3:33",
"gateway_nexthop": "18e829aebc4c",
"gateway": "6ab511de3f8e",
"domain": "rifu",
"location": {
"longitude":7.195996642,
"latitude":50.796312806
}
}
]
}

160
ucDevices.json Normal file
View File

@ -0,0 +1,160 @@
{
"devices":[
{
"name": "Eifelstrasse_01-1",
"mac": "74:83:c2:39:f3:d4",
"gateway_nexthop": "18e829aeb490",
"gateway": "12cd0830811c",
"linked_to": "18:e8:29:ae:b4:90",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.782613069,
"longitude":7.061321586
}
},
{
"name": "Eifelstrasse_01-2",
"mac": "74:83:c2:39:f5:5f",
"gateway_nexthop": "18e829aeb490",
"gateway": "12cd0830811c",
"linked_to": "18:e8:29:ae:b4:90",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.782638507,
"longitude":7.061415464
}
},
{
"name": "Eifelstrasse_01-3",
"mac": "74:83:c2:39:f6:61",
"gateway_nexthop": "18e829aeb490",
"gateway": "12cd0830811c",
"linked_to": "18:e8:29:ae:b4:90",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.782697015,
"longitude":7.061415464
}
},
{
"name": "Eifelstrasse_02-1",
"mac": "74:83:c2:39:f6:d3",
"gateway_nexthop": "18e829aeb7cc",
"gateway": "12cd0830811c",
"linked_to": "18:e8:29:ae:b7:cc",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.782769937,
"longitude":7.061506659
}
},
{
"name": "Eifelstrasse_02-2",
"mac": "74:83:c2:96:cb:a3",
"gateway_nexthop": "18e829aeb7cc",
"gateway": "12cd0830811c",
"linked_to": "18:e8:29:ae:b7:cc",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.782796222,
"longitude":7.061596513
}
},
{
"name": "Eifelstrasse_02-3",
"mac": "74:83:c2:96:c8:e6",
"gateway_nexthop": "18e829aeb7cc",
"gateway": "12cd0830811c",
"linked_to": "18:e8:29:ae:b7:cc",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.782853034,
"longitude":7.061601877
}
},
{
"name": "DW-01",
"mac": "18:e8:29:a6:c6:23",
"gateway_nexthop": "b4fbe4b1ac44",
"gateway": "12cd0830811c",
"linked_to": "b4:fb:e4:b1:ac:44",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.825793,
"longitude":7.204645
}
},
{
"name": "DW-02n",
"mac": "e0:63:da:6d:c6:70",
"gateway_nexthop": "18e829a6c623",
"gateway": "12cd0830811c",
"linked_to": "18:e8:29:a6:c6:23",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.825644,
"longitude":7.204421
}
},
{
"name": "DW-32",
"mac": "e0:63:da:6d:c6:6d",
"gateway_nexthop": "e063da6dc670",
"gateway": "12cd0830811c",
"linked_to": "e0:63:da:6d:c6:70",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.825849,
"longitude":7.204333
}
},
{
"name": "Seminarraum",
"mac": "74:83:c2:c3:38:47",
"gateway_nexthop": "7483c2f5881d",
"gateway": "56e27559bd72",
"linked_to": "74:83:c2:f5:88:1d",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.624723,
"longitude":7.136787
}
},
{
"name": "EG Flur",
"mac": "74:83:c2:c3:38:31",
"gateway_nexthop": "7483c2f5881d",
"gateway": "56e27559bd72",
"linked_to": "74:83:c2:f5:88:1d",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.624610,
"longitude":7.136811
}
},
{
"name": "Kueche",
"mac": "74:83:c2:c3:39:b2",
"gateway_nexthop": "7483c2f5881d",
"gateway": "56e27559bd72",
"linked_to": "74:83:c2:f5:88:1d",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.624588,
"longitude":7.137028
}
},
{
"name": "1. OG Flur",
"mac": "74:83:c2:c3:39:88",
"gateway_nexthop": "7483c2f5881d",
"gateway": "56e27559bd72",
"linked_to": "74:83:c2:f5:88:1d",
"domain": "Soziale Netzwerke",
"location": {
"latitude":50.624687,
"longitude":7.136886
}
}
]
}

View File

@ -1,60 +0,0 @@
{
"devices":[
{
"name": "Rathaus Uplink",
"mac": "18:e8:29:ad:9a:34",
"gateway_nexthop": "18e8292f7de6",
"gateway": "a28cae6ff604",
"domain": "tdf",
"location": {
"longitude":7.149406208,
"latitude":50.817093402
}
},
{
"name": "edge2-test",
"mac": "d0:21:f9:bb:db:d0",
"gateway_nexthop": "000000000001",
"gateway": "168f8c38748b",
"domain": "VPN1",
"location": {
"longitude":7.133350968,
"latitude":50.802853080
}
},
{
"name": "Aggertal-Hotel",
"mac": "d0:21:f9:bb:e7:52",
"gateway_nexthop": "000000000001",
"gateway": "168f8c38748b",
"domain": "VPN1",
"location": {
"longitude":7.255375,
"latitude":50.881177
}
},
{
"name": "Achtermann-edge4",
"mac": "d0:21:f9:bb:db:8e",
"gateway_nexthop": "000000000001",
"gateway": "168f8c38748b",
"domain": "VPN1",
"location": {
"longitude":7.122906,
"latitude":50.819198
}
},
{
"name": "Galerie-Troisdorf",
"mac": "d0:21:f9:bb:dc:06",
"gateway_nexthop": "000000000001",
"gateway": "168f8c38748b",
"domain": "VPN1",
"location": {
"longitude":7.155843973,
"latitude":50.814017575
}
}
]
}

File diff suppressed because it is too large Load Diff