Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Stidham
8a9e1f1473 Move influx.py to influx_utils.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-03 11:45:04 -08:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Matthew Stidham
fe861156cc Refactoring code so that it refers to the new RecordInflux script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-01 10:42:14 -07:00
Matthew Stidham
6e7f4e1fb1 Create csv_to_grafana.py and build dependencies
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-22 16:54:58 -07:00
Matthew Stidham
46d0ef5e3c recordinflux supports influx version 2
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-21 14:15:41 -07:00
lanforge
fe45a2c657 Option to paste data from test_ipv4_variable_time to influx database
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 12:41:39 -07:00
Matthew Stidham
13c08a7a76 Properly report influx data in sta_connect2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 14:21:29 -07:00
lanforge
8e870862d9 Allow a user to gather data from only select variables
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:38:15 -07:00
lanforge
430c5b2ad0 Create influx.py in py-json and import it into recordinflux.py
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:18:40 -07:00
Matthew Stidham
f0b6e497ec Create influx recording script
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-02 17:14:19 -07:00