Developing lightweight computation at the DSG edge

Commit 285ab6c8 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Update Readme


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 76ee86a8
......@@ -80,7 +80,7 @@ The primary data source for this application is the CNML file. The `monitor-fetc
In AntidoteDB, the data are structured as follows:
#### guifi (bucket)
The `guifi` bucket contains the list of devices to be monitored:
The `guifi` bucket contains the lists of monitors and network devices to be monitored:
##### guifi (bucket) => devices (set)
The `devices` *set* in the `guifi` *bucket* is an `array` of `strings`, each `string` containing the `ID` of a Guifi.net device. For example:
```bash
......@@ -92,6 +92,14 @@ $ curl localhost:3000/set/read/guifi/devices
"92032","92802","92803","92804","94210","94965","96225","96676","96684"]
```
##### guifi (bucket) => monitors (set)
The `monitors` *set* in the `guifi` *bucket* is an `array` of `strings`, each `string` containing the `ID` of a Guifi.net monitor. For example:
```bash
$ curl localhost:3000/set/read/guifi/monitors
["0","1","2"]
```
#### device-i (bucket)
The `device-i` bucket, where `i` is the numeric `ID` of a device in the `guifi/devices` set, contains the information about a Guifi.net device:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment