Commit Graph

1458 Commits

Author SHA1 Message Date
Robert Chacón
c7d501a957
Add option to control frequency of queue refreshes in minutes - queueRefreshIntervalMins 2023-04-16 09:32:17 -06:00
Robert Chacón
d965f51a64
Update ispConfig.example.py 2023-04-16 09:28:53 -06:00
Robert Chacón
1ee7484d86
Add 'type' to network.json. For https://github.com/LibreQoE/LibreQoS/issues/308 2023-04-15 11:24:07 -06:00
Robert Chacón
4861b5f2fd
Rename integrationUISProutes.csv to integrationUISProutes.template.csv 2023-04-15 10:37:21 -06:00
Robert Chacón
ffda0a08f1
Render network map graph horizontally. Makes much more efficient use of space. 2023-04-15 10:29:49 -06:00
Robert Chacón
286c2a4931
Only print warning if actual site goes off PtMP AP, not client sites 2023-04-15 10:03:41 -06:00
Robert Chacón
2b16930586
https://github.com/LibreQoE/LibreQoS/issues/336 2023-04-15 09:56:45 -06:00
Robert Chacón
c62f6d3e3c
Fix https://github.com/LibreQoE/LibreQoS/issues/309 2023-04-15 09:44:50 -06:00
Robert Chacón
3d6d32c300
Update integrationUISP.py 2023-04-15 09:42:03 -06:00
Robert Chacón
eced3e2ac5
Update integrationUISP.py 2023-04-14 23:56:08 -06:00
Robert Chacón
d80be2bd4c
Merge pull request #333 from LibreQoE/partialReloadImprovement
Partial reload improvement
2023-04-14 16:17:13 -06:00
Robert Chacón
33e94b5fd7
Merge pull request #337 from LibreQoE/fixUISPmultiWAN
UISP Handle Multiple Internet-Connected Sites
2023-04-14 16:16:38 -06:00
Robert Chacón
9657796270
Update integrationUISP.py 2023-04-14 16:02:21 -06:00
Robert Chacón
5c5f9ee1e5
Update integrationUISP.py 2023-04-14 16:00:22 -06:00
Robert Chacón
2d3ff07f9e
Update integrationUISP.py 2023-04-14 14:45:13 -06:00
Robert Chacón
13f0df7e0c
Update integrationUISP.py 2023-04-14 13:26:28 -06:00
Robert Chacón
3bb8a30152
Update integrationUISP.py 2023-04-14 13:24:12 -06:00
Robert Chacón
24b4609fd5
Merge pull request #335 from LibreQoE/fix334
UISP Integration Improvements
2023-04-14 05:49:36 -06:00
Robert Chacón
5f30799538
Add files via upload 2023-04-13 20:16:33 -06:00
Robert Chacón
e5d70d4e7a
Update integrationUISP.py 2023-04-13 19:32:00 -06:00
Robert Chacón
25ffa131b3
Update integrationUISP.py 2023-04-13 09:32:50 -06:00
Robert Chacón
942e4db89d
Update integrationUISP.py 2023-04-13 09:28:59 -06:00
Robert Chacón
ec2ed8e4ad
Update integrationUISP.py 2023-04-13 09:03:30 -06:00
Robert Chacón
8f55f4ac4e
Update integrationUISP.py 2023-04-13 08:51:53 -06:00
Robert Chacón
99c716de86
Update integrationUISP.py 2023-04-13 08:48:00 -06:00
Robert Chacón
855b838831
Update integrationUISP.py 2023-04-12 20:52:42 -06:00
Robert Chacón
c555801733
Update requirements.txt 2023-04-12 13:29:28 -06:00
Robert Chacón
3a4d33225a
Update LibreQoS.py 2023-04-12 13:29:05 -06:00
Herbert Wolverson
77ecb8afcd Merge branch 'develop' 2023-04-12 14:03:15 +00:00
Herbert Wolverson
a526555a45 Merge in UISP quick fix 2023-04-12 13:55:18 +00:00
Herbert Wolverson
0fcc5d0bac Add a lot of is not None tests to the nodeOffPtmp code, to account for offline devices and 'other' devices that don't have all of the required data. 2023-04-12 13:46:04 +00:00
Robert Chacón
f3414257ad Update integrationUISP.py 2023-04-12 13:29:33 +00:00
Robert Chacón
00839dfe88 Update integrationUISP.py 2023-04-12 13:29:33 +00:00
Robert Chacón
a47c8a065d Update integrationUISP.py 2023-04-12 13:29:33 +00:00
Robert Chacón
8c6a901ab9 Update ispConfig.example.py 2023-04-12 13:29:33 +00:00
Herbert Wolverson
6df648e299 Allow integrationUISProutes.csv to override default costs in UISP route determination.
Requested by D. Denson.

Now that the UISP network tree is built as a spanning tree, with 10
cost per hop we can reliably flip the tree from A->B->C to C->B->A
depending upon root positioning.

This addition allows you to specify additional routes (that MUST
exist!) e.g. A->C and specify a cost to use instead of the default
10. This allows for topologies in which A-B-C is actually faster
than a direct A-C route (for example, becuase of short 60ghz
hops).
2023-04-12 13:29:33 +00:00
Herbert Wolverson
2d3874e812 Build complete spanning tree for data links and use it to orient tree
Rather than obeying the "parent" field, which leads to wrong-way up
graphs when building from a non-root site - instead build a complete
cost-based spanning tree from the specified root node. Then use
the generated tree - falling back on parent if nothing is found -
to populate the tree in order.

Tested on Herbert's network, correctly generates topology from several
different locations.

Still to come: adding a mechanism for providing parenting overloads
to allow for cases where a long path is actually optimal, but we
have no way of knowing that.
2023-04-12 13:29:33 +00:00
Herbert Wolverson
d2aa804ace Use dot renderer for PDF 2023-04-12 13:29:33 +00:00
Herbert Wolverson
6e15181fab Add a couple of 'is none' checks to remove crashes I experienced. 2023-04-12 13:29:33 +00:00
Herbert Wolverson
0cc1a6eaee Add documentation headers for Queue Tracker. 2023-04-12 13:29:33 +00:00
Herbert Wolverson
6106c26899 Add documentation headers for Heimdall. 2023-04-12 13:29:33 +00:00
Herbert Wolverson
f56581f1d6 Add some unit tests and documentation to the crate. No functional changes. 2023-04-12 13:29:33 +00:00
Herbert Wolverson
c9025f654c Add a couple of unit test. 2023-04-12 13:29:33 +00:00
Herbert Wolverson
a16bc66d79 Format-preserving TOML editing
Restore the automatic generation of a node_id if one isn't present,
based on a hash of /etc/machine_id. Switch from the "toml" crate
to the "toml_edit" crate, and use its Document type to preserve
the user's comments and formatting when editing the configuration
file for saving.
2023-04-12 13:29:33 +00:00
Herbert Wolverson
fada0a6e92 Fix displayed plans in Top/Worst N tables
A value was transposed in the IPStats to IPStats transit
conversion. The UI now displays (max download/max upload)
correctly.

Fix an accidental inclusion of a console.log statement
logging needlessly.
2023-04-12 13:29:33 +00:00
Herbert Wolverson
04bc7326ad Add DNS resolution to displayed flow IP addresses 2023-04-12 13:29:33 +00:00
Herbert Wolverson
2c63393356 Adds "client throughput" to the queue tree tab of circuit_queue
Also moves all the circuit graphs to use the same graphing
system as the other graphs on the plot.

FIXES #315
2023-04-12 13:29:33 +00:00
Herbert Wolverson
4ed077c634 Last 5 minutes of throughput data are stored server-side on node_manager
A server-side ringbuffer retains just the last 5 minutes of throughput.
When the dashboard first loads, it collects all 5 minutes of data,
so nothing appears skipped. Subsequent updates query the latest
value in the buffer.

FIXES #317
2023-04-12 13:29:32 +00:00
Robert Chacón
cfaae176d4 Fix bug pertaining to https://github.com/LibreQoE/LibreQoS/pull/320 2023-04-12 13:29:06 +00:00
Matthew McTague
567cde6b7c Check that priorQuery exists before using it 2023-04-12 13:29:05 +00:00