Commit Graph

1109 Commits

Author SHA1 Message Date
Robert Chacón
2811148ffb
Merge pull request #256 from LibreQoE/fixGraphing324
Fix #254
2023-02-06 18:46:18 -07:00
Robert Chacón
8b33dd7be6
Fix https://github.com/LibreQoE/LibreQoS/issues/254 2023-02-06 18:45:08 -07:00
Robert Chacón
ab1de300b1
Fix https://github.com/LibreQoE/LibreQoS/issues/254 2023-02-06 18:43:51 -07:00
rchac
cd147708fd Add back v1.3 directory 2023-02-06 18:41:23 -07:00
Robert Chacón
9fb0e9d6ca
Switch back to unpaid safety check 2023-02-06 17:30:32 -07:00
Robert Chacón
ee30dc027e
Update TESTING-1.4.md 2023-02-04 20:00:40 -07:00
Dave Taht
672bb78d4b Fix some spelling errors 2023-02-04 18:45:41 -08:00
Robert Chacón
6e4d17679a
Switch to linear interpolation for better visualization 2023-02-04 19:32:56 -07:00
Robert Chacón
f536018755
https://github.com/LibreQoE/LibreQoS/issues/129#issuecomment-1372213698 2023-02-04 19:20:25 -07:00
Robert Chacón
65a62c7a50
Update TESTING-1.4.md 2023-02-04 18:29:58 -07:00
Robert Chacón
1a5f7dc2b9
Update TESTING-1.4.md 2023-02-04 18:28:14 -07:00
Robert Chacón
79259f415d
Update TESTING-1.4.md 2023-02-04 18:25:30 -07:00
Robert Chacón
831b5a67f4
Update README.md 2023-02-04 18:16:36 -07:00
Robert Chacón
acad536ee0
Update README.md 2023-02-04 18:12:03 -07:00
Robert Chacón
5421e527ac
Update README.md 2023-02-04 15:37:18 -07:00
Robert Chacón
eed68c6474
Merge pull request #248 from LibreQoE/fixScheduler
Fix scheduler
2023-02-04 11:29:18 -07:00
Robert Chacón
add85a301d
Update requirements.txt 2023-02-04 11:28:02 -07:00
Robert Chacón
205ec17375
Use advanced scheduler by default 2023-02-04 11:27:28 -07:00
Robert Chacón
433ffe6a7b
Delete schedulerAdvanced.py 2023-02-04 11:26:39 -07:00
Robert Chacón
2e19535838
Update TESTING-1.4.md 2023-02-04 09:33:30 -07:00
Robert Chacón
10771625ed
Create lqos_scheduler.service.example 2023-02-04 08:50:06 -07:00
Robert Chacón
d007b54162
Fix 0 values not being sent 2023-02-04 03:37:25 -07:00
Robert Chacón
d22ac8a73b
Improve documentation of useBinPackingToBalanceCPU 2023-02-04 03:28:34 -07:00
Robert Chacón
d1fda9290a
Fix cases where Nodes >= CPU Cores
Previously, generated parent nodes aka generatedPNs (which hold ShapedDevices without a defined Parent Node) would reside on the last few cores of the CPU. A problem became apparent here where if an operator had more Top Level Parent Nodes defined in network.json than CPU cores, there were no CPU cores left to use for generatedPNs. With this change, generatedPNs are created for each CPU core. Additionally, to reduce verbosity of the console output, the warning "uploadMax of Circuit ID exceeded that of its parent node." has been changed to an info log.
2023-02-04 03:15:58 -07:00
Herbert Wolverson
d688522c13 Hide UI elements for features that aren't ready yet. 2023-02-03 15:51:59 +00:00
Herbert Wolverson
89b2eafda7 Fix node manager not letting you run bandwidth tests from child displays. 2023-02-03 14:38:35 +00:00
Herbert Wolverson
b2be48da8a Merge branch 'main' of https://github.com/LibreQoE/LibreQoS 2023-02-03 14:32:13 +00:00
Herbert Wolverson
08cc2f6415 Fix node manager not letting you run bandwidth tests from child displays. 2023-02-03 14:31:58 +00:00
Robert Chacón
848986adcd
Merge pull request #242 from LibreQoE/fix2389r5
Fix TCP RTT Graphing For InfluxDB
2023-02-02 21:47:09 -07:00
Robert Chacón
b89f5254c6
Update graphInfluxDB.py 2023-02-02 21:46:24 -07:00
Robert Chacón
4acfb77ea8
Update scheduler.py 2023-02-02 21:45:45 -07:00
Dave Taht
f636cd9ff0 lqtop: make more room for large rtts
IPv6 is a max of 40 characters, so I cut the allowed space to 42.
That gave room to have multi-second long observable RTTs in the
RTT segment.

Compile tested only. A slightly better approach might be to
display time in ns/us/ms/s.
2023-02-02 20:40:45 +00:00
Herbert Wolverson
48b75a9b10 Fix spelling of 'Environment' 2023-02-02 18:03:31 +00:00
Herbert Wolverson
dc259fb5c8 Rework the file watcher to restart the watcher after firing.
Sometimes the watcher persists, sometimes it doesn't. This is
awful behavior. Work around by looping the watcher and returning
after it fires - restarting the watch process. This has the
added advantage of handling "file deleted" gracefully.

When ShapedDevices cannot be read, an empty set is loaded so
its obvious on the web UI that there is an issue.

In testing, I've been through a bunch of "break shaped devices",
"unbreak shaped devices" and seen the data come and go correctly
now.

ISSUE #239
2023-02-02 15:38:13 +00:00
Herbert Wolverson
7a18099587 Correct ordering of validation checks in LibreQoS.py
The Rust validator was running, and the very next line set the
result to success irregardless of the result. Move the validation
initialization to the top.

ISSUE #240
2023-02-02 14:29:21 +00:00
Herbert Wolverson
2926fa5c7a Add "trim(always)" to CSV decoder. Whitespace between comma
separated items will no longer cause validation issues - excess
whitespace is automatically trimmed at the beginning and end
of comma separated entries before parsing.

First part of ISSUE #240
(Fixing the validation issue rather than the actual cause)
2023-02-02 14:26:57 +00:00
Herbert Wolverson
27debaf0f1 Update to latest rustc syntax. Since we're now updating Rust,
take advantage of some of the newer Rust syntax formats
(mostly syntax sugar on format! macros).
2023-02-02 14:17:59 +00:00
Herbert Wolverson
715829cc9a Add 'rustup update' to the build chain. 2023-02-02 14:10:06 +00:00
Herbert Wolverson
30a6a2c5c5 Revert my truly awful decision to try and run LibreQoS.py during
lqosd startup (after checking that config files existed). It
made startup unstable.
2023-02-02 14:08:20 +00:00
Herbert Wolverson
911f107f3f Add a delay when starting the polling thread in lqos_node_manager
to let the server finish starting.

The delay is in the polling thread, not global - so it doesn't
cause a stall, or affect data access. The ringbuffer will be
slightly delayed in starting (and show zeroes until then).

Testing shows no more logged messages on reboot.

ISSUE #235
2023-02-01 22:29:55 +00:00
Herbert Wolverson
cb3fa889fb ISSUE #229 - Use checked add with 0 default when adding packet counters. 2023-02-01 20:00:32 +00:00
Herbert Wolverson
e2508a6e57 ISSUE #229 - More saturating_sub instead of just subtracting to avoid underflows. 2023-02-01 19:54:53 +00:00
Herbert Wolverson
309b399a56 ISSUE #229 - Add division by zero guard to the busy_quantile function. 2023-02-01 19:51:15 +00:00
Herbert Wolverson
5a1a3db5be ISSUE #229 - try to manually run cargo audit 2023-02-01 19:40:08 +00:00
Herbert Wolverson
d14c4239b9 ISSUE #229 - Remove github provided cargo audit, it doesn't support code in subdirectories! 2023-02-01 19:36:02 +00:00
Herbert Wolverson
ecc2fb5ed7 ISSUE #229 - YAML really wants to eat my brain tonight 2023-02-01 19:31:07 +00:00
Herbert Wolverson
568d55f317 ISSUE #229 - Add CVE database check to cargo lock scanning in audit phase. 2023-02-01 19:25:57 +00:00
Herbert Wolverson
5d709da7b0 Fix lqtop compilation with new crossterm. 2023-02-01 19:23:02 +00:00
Herbert Wolverson
38a2a78062 Finish Rust package update cycle per ISSUE #229 2023-02-01 19:13:23 +00:00
Herbert Wolverson
8864ebab70 Work around stupid type implementation in the latest sysinfo version. 2023-02-01 19:07:28 +00:00