first commit

This commit is contained in:
Stefan Hoffmann 2021-02-14 19:56:30 +01:00
parent aceb07b9b9
commit 63c2dacaa1
3 changed files with 37 additions and 0 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

5
devices.json Normal file
View File

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

15
ucDevices.json Normal file
View File

@ -0,0 +1,15 @@
{
"devices":[
{
"name": "BEISPIEL ABÄNDERN!!!!!!",
"mac": "18:e8:29:9c:90:ae",
"gateway_nexthop": "18e82924170a",
"gateway": "a28cae6ff604",
"linked_to": "18:e8:29:24:17:0a",
"location": {
"longitude":7.122931927,
"latitude":50.818885422
}
}
]
}