- 29 Oct, 2019 3 commits
-
-
Roger Pueyo Centelles authored
The AddDevicesToAntidote89 function gracefully adds to AntidoteDB a []cnml.DeviceIpv4sGraphserver list of devices reusing a single connection, hence reducing the operation time. Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
Roger Pueyo Centelles authored
Forked from monitor-fetch, monitor-fetch-and-upload is able to remove outdated devices from AntidoteDB with just a single AntidoteDB connection (using goclidote's RemoveDevicesFromAntidote() function), a significant improvement compared to the the 4 x len(oldDevices) connections that were used up to now. For example, removing the 1131 devices in the Barcelona CNML from AntidoteDB took this time before: real 0m25,709s user 0m2,985s sys 0m3,473s and now takes: real 0m16,664s user 0m1,951s sys 0m1,995s Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
- 25 Sep, 2019 4 commits
-
-
Roger Pueyo Centelles authored
This commit adds the monitor-fetch application with the functionality to manage the SNMP interface names available in the CNML files, write them to AntidoteDB and retrieve them back. Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
- 13 Nov, 2018 1 commit
-
-
Roger Pueyo Centelles authored
The AntidoteDB host and port the application connects to now can be specified as a paramenter. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 12 Jul, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
- 11 Jul, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Sorry, João :( Signed-off-by:
Roger Pueyo Centelles <rpueyo@ac.upc.edu>
-
- 16 Mar, 2018 2 commits
-
-
Roger Pueyo Centelles authored
Loading a CNML file which contained devices already known to AntidoteDB made the update process perform unneded DB operations and loops which terribly loaded the system. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
This allows the assign application to know whether there is something new to fetch or not. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 15 Mar, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Related: 451df24f Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 13 Mar, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 12 Mar, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 09 Mar, 2018 2 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 05 Mar, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Move CNML- and Antidote's API-related types and functions to separate packages. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 27 Feb, 2018 5 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Add a few functions and improve the CLI output. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Add a function to remove an item from a set in a bucket. Also remove http requests from previous antidote-related functions and use those recently added instead. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
This function gets the items from a set in a bucket. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
This function writes an item to a set in a bucket. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 23 Feb, 2018 2 commits
-
-
Roger Pueyo Centelles authored
This avoids writing to AntidoteDB devices which have no IPv4 address(es) to monitor. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 22 Feb, 2018 5 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
When the CNML file is updated, remove from AntidoteDB those devices that have been removed from the CNML. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Also print on the terminal the addresses exported so far: 302 devices exported to AntidoteDB (303 success, 0 fail) 251 addresses exported to AntidoteDB (251 success, 0 fail) Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Print on the terminal the progress of the export process. Ex.: 10441 devices exported to AntidoteDB (10442 success, 0 fail) Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 21 Feb, 2018 5 commits
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
The "SnmpIndex" values are mostly numbers but, since the web interface allows arbitrary strings, some other values are used ("a", "?", etc.). Partially fixes #2 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
The "ClientsAccepted" values are either "Yes" or "No"; they must be parsed as strings or the Unmarshal function fails. Partially fixes #2 Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
Rename things and add comments to make go-lint (https://github.com/golang/lint ) not complain at all. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 20 Feb, 2018 1 commit
-
-
Roger Pueyo Centelles authored
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- 01 Dec, 2017 2 commits
-
-
Roger Pueyo Centelles authored
-
Roger Pueyo Centelles authored
[fetch] Hierarchically propagate the graph server to zones, nodes and devices that don't have one specifically assigned
-
- 30 Nov, 2017 2 commits
-
-
Roger Pueyo Centelles authored
JSON file
-
Roger Pueyo Centelles authored
-