From 841b3ba3f44cf64275e5bf6ee58615675fa781b9 Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Tue, 29 Dec 2020 18:42:08 +0100 Subject: [PATCH] fixed IP address generation --- example.json | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/example.json b/example.json index 0e01f4e..d1ab55b 100644 --- a/example.json +++ b/example.json @@ -1,9 +1,9 @@ { - "timestamp": "2020-12-29T18:24:09+0100", + "timestamp": "2020-12-29T18:41:53+0100", "nodes": [ { "firstseen": "2020-01-20T17:38:03+0000", - "lastseen": "2020-12-29T17:23:56+0000", + "lastseen": "2020-12-29T17:40:58+0000", "is_online": true, "is_gateway": false, "clients": 0, @@ -11,7 +11,7 @@ "clients_wifi5": 0, "clients_other": 0, "rootfs_usage": 0, - "loadavg": 28, + "loadavg": 1, "memory_usage": 66, "uptime": "2020-11-22T14:02:11+0000", "gateway_nexthop": "18e8292f7de6", @@ -22,7 +22,9 @@ }, "node_id": "18e8298ec64d", "mac": "18:e8:29:8e:c6:4d", - "addresses": "10.188.41.164", + "addresses": [ + "10.188.41.164" + ], "domain": "rifu", "hostname": "[RiFu] Port 5 - zu Bahnhof", "owner": "Freifunk Rhein-Sieg", @@ -39,7 +41,7 @@ }, { "firstseen": "2020-05-05T20:08:20+0000", - "lastseen": "2020-12-29T17:23:50+0000", + "lastseen": "2020-12-29T17:41:04+0000", "is_online": true, "is_gateway": false, "clients": 0, @@ -47,8 +49,8 @@ "clients_wifi5": 0, "clients_other": 0, "rootfs_usage": 0, - "loadavg": 21, - "memory_usage": 68, + "loadavg": 13, + "memory_usage": 69, "uptime": "2020-10-24T21:47:31+0000", "gateway_nexthop": "18e8292f7de6", "gateway": "a28cae6ff604", @@ -58,7 +60,9 @@ }, "node_id": "18e829dcc37e", "mac": "18:e8:29:dc:c3:7e", - "addresses": "10.188.47.143", + "addresses": [ + "10.188.47.143" + ], "domain": "rifu", "hostname": "[RiFu] Bahnhof-TDF", "owner": "Freifunk Rhein-Sieg", @@ -79,8 +83,8 @@ "type": "wifi", "source": "18e8298ec64d", "target": "18e829dcc37e", - "source_tq": 0.3, - "target_tq": 0.3, + "source_tq": 0.31, + "target_tq": 0.31, "source_addr": "18:e8:29:8e:c6:4d", "target_addr": "18:e8:29:dc:c3:7e" }