Robert Chacón
c9e07e33a8
Cleaned up formatting of InfluxDB template
2022-11-11 08:06:36 -07:00
Robert Chacón
d304b60f16
Clean up scheduler code
...
Use more standard way of scheduling
2022-11-09 20:56:58 -07:00
Robert Chacón
3da45c8a08
Create FUNDING.yml
2022-11-08 07:02:50 -07:00
Robert Chacón
7ce1671ce6
Update bandwidth graphs for 30s, then update latency graphs
2022-11-07 22:50:13 -07:00
Robert Chacón
8fc2fdd01a
Add the ability to graph median latency of the entire network
2022-11-07 16:12:27 -07:00
rchac
96e1e1b3e5
Update cpumap-pping to 1.0.0-RC1
2022-11-05 09:29:52 -06:00
Robert Chacón
15e32cd51b
Update README.md
2022-11-04 17:16:57 -06:00
Robert Chacón
3d9b665ca0
Use median for TCP latency table vs peak
2022-11-02 07:45:34 -06:00
Robert Chacón
e3c95516e6
Fix display of graphed Tin stats for CAKE diffserv4 when queues relaod
2022-11-02 07:34:04 -06:00
Robert Chacón
5ba8a5733c
Include uispSite and influxDBEnabled parameters. Latency graphiing is on by default now when influxDBEnabled toggled
2022-11-01 09:23:57 -06:00
Robert Chacón
5e8bd0af7a
Merge pull request #146 from thebracket/integration-fixes
...
Use client ID as circuit ID when building ShapedDevices.csv
2022-11-01 08:44:55 -06:00
Herbert Wolverson
87aa7c55f1
Use client ID as circuit ID when building ShapedDevices.csv
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-11-01 08:56:41 -05:00
Robert Chacón
259cb3e8c8
Update influxDBdashboardTemplate.json
2022-11-01 04:45:15 -06:00
Robert Chacón
696018feba
Apply ceiling to TCP Latency tracked by circuit, to avoid outliers messing up stats
2022-11-01 04:43:52 -06:00
Robert Chacón
d4d223f098
When tracking Node (AP) latency, use median instead of avg
2022-11-01 04:32:32 -06:00
Robert Chacón
5aef51ce4d
When tracking Node (AP) latency, use median instead of avg
2022-11-01 04:29:04 -06:00
Robert Chacón
b2af210ae2
Delete graphBandwidth.py
2022-11-01 04:27:56 -06:00
Robert Chacón
a574575b63
Convert devices' IPv4/IPv6 address lists to string before output to ShapedDevices.csv
2022-10-31 16:49:31 -06:00
Robert Chacón
7359727729
Merge pull request #145 from thebracket/integration-common-graph
...
Common graph integrations
2022-10-31 16:22:54 -06:00
Herbert Wolverson
a2792574ce
Merge remote-tracking branch 'origin/main' into integration-common-graph
2022-10-31 15:06:20 -05:00
Herbert Wolverson
f00577305f
Cleanup Spylnx integration file
2022-10-31 14:58:03 -05:00
Herbert Wolverson
dec3273612
Very much a work in progress. Spylnx integration is more function-oriented, and uses the NetworkGraph framework. I'm going to have to find some more test data to make sure it actually works.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-31 09:58:48 -05:00
Herbert Wolverson
4092211a3d
Add INTEGRATION_HOWTO - providing documentation on how to create your own integration.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-31 08:47:06 -05:00
Robert Chacón
1848cef609
Add standard and metaverse-ready versions of Node TCP Latency Table
2022-10-30 21:24:15 -06:00
Herbert Wolverson
aff7af2cec
Add uispStrategy and explanation to the ispConfig.example file
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 10:46:09 -05:00
Herbert Wolverson
20808d76dc
Support ExceptionCPE structure in the common network graph, and apply on node add. That makes it work across all integrations.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 10:37:57 -05:00
Herbert Wolverson
9c1998fc56
Move 'excluded sites' checks out of the UISP system and into the common system. Add unit tests to ensure that it works.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 10:25:01 -05:00
Herbert Wolverson
3474373424
Support IPv4 to IPv6 mapping via Mikrotik at the common API level.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 10:12:33 -05:00
Herbert Wolverson
cbcf0b124f
Excluded sites are skipped
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 09:35:07 -05:00
Herbert Wolverson
2609bd20d0
Rename 'Shaper Root' to '', to match with what Robert told me about un-mapped circuits needing to go to the top.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 09:26:18 -05:00
Herbert Wolverson
c1f267fd1d
Ugly (read can be made nicer) implementation of flat strategy for UISP integration.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 09:24:02 -05:00
Herbert Wolverson
5f3b30cf52
Remove ShapedDevices that don't have any IPv4 or IPv6 addresses.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-29 08:50:55 -05:00
Herbert Wolverson
2ae08ef4aa
Circuit list is generated in ShapedDevices.csv. Not thoroughly tested yet.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 14:48:29 -05:00
Herbert Wolverson
e212d70ca9
Site/AP bandwidth limits from integrationUISPbandwidths.csv are implemented once again.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 13:46:06 -05:00
Herbert Wolverson
e1283e61bb
Change graph test unit test to display the example network file
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 12:54:14 -05:00
Herbert Wolverson
1c544ce342
Add unit test that creates the example network file and compares the result.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 12:23:25 -05:00
Herbert Wolverson
52425d35a9
Refactor the convoluted steps into a prepareTree function and make individual steps private methods.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 12:04:48 -05:00
Herbert Wolverson
757596aa4f
Add unit testing and cleanup naming on generated sites.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 11:42:04 -05:00
Herbert Wolverson
cfc136de8f
Add auto-promotion of client with child sites; a new site is inserted and the children rearranged to preserve speed limits in a sane manner (so a shared relay can have X for one customer, Y for another and Z as a limit)
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 11:33:16 -05:00
Herbert Wolverson
a155862bc9
Basic network json generation is working, needs tweaking.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 10:52:25 -05:00
Herbert Wolverson
e2b3bc9d15
Add network.json existence check
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 09:23:18 -05:00
Herbert Wolverson
591a6fd5aa
Add routine to fix unconnected nodes, clean up the UISP REST query system a bit.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 09:16:39 -05:00
Herbert Wolverson
eb3bb0466a
Check for graphviz being available and return safely if it isn't
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-28 07:51:33 -05:00
Herbert Wolverson
23419d83f5
Forgot a file
2022-10-27 16:25:06 -05:00
Herbert Wolverson
8ffd4caf52
Starting to use general graph theory to map networks, using UISP as the test-bed. Not ready for use.
...
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-27 16:24:42 -05:00
Robert Chacón
f1ae19991a
Handle cases where device is AP but has no reported capacity
2022-10-27 14:21:00 -06:00
Robert Chacón
bd5244b4ae
Merge pull request #142 from thebracket/integration-common-ips
...
Add integrationCommon.py - shared functionality
2022-10-27 11:13:45 -06:00
Herbert Wolverson
448d731b1d
Add testIP.py and testdata folder
...
Adds unit tests that cover all of the code-paths used
by the integrationCommon.py shared functionality.
Adds a directory containing test data, so as to not
require a specific ispConfig.py file or pollute the
ispConfig.example.py with test data.
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-27 09:41:39 -05:00
Herbert Wolverson
532be33d64
Add integrationCommon.py - shared functionality
...
Creates a new integrationCommon.py file for shared functionality
between integrations.
Move isInAllowedSubnets into the shared file. Add a reciprocal
isInIgnoredSubnets file to utilize the configuration file's
"ignoreSubnets" field.
Add a new function, isIpv4Permitted that combines calls to the
two to return true if an IP address is both allowed and not
ignored, and false otherwise.
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2022-10-27 08:52:24 -05:00
rchac
981b2e5b19
Update cpumap-pping
2022-10-24 19:07:51 -06:00