Commit Graph

2214 Commits

Author SHA1 Message Date
Herbert Wolverson
7bd302191e Add unit tests for TOML loading. Integrate the Python migration code into the v15 structure. Activate the Python unit test. 2023-12-07 08:46:40 -06:00
Robert Chacón
17efdf22cd
Merge pull request #433 from LibreQoE/rchac-patch-8
Update README.md to include NLnet info currently only on libreqos.io
2023-12-06 17:50:53 -07:00
Robert Chacón
451743c2d7
Update README.md 2023-12-06 17:50:22 -07:00
Herbert Wolverson
93997f4aca Started to feed the Python ispConfig.py sections into the config. 2023-12-01 16:44:14 -06:00
Herbert Wolverson
258a0aeef5 First pass at a suggested version 1.5 format cleanup. None of the Python stuff is integrated yet. 2023-12-01 16:09:09 -06:00
Herbert Wolverson
a0c18164ff Move previous configuration file into its own space. 2023-12-01 15:31:54 -06:00
Herbert Wolverson
ff04f3718e Migrate from to directory, to allow for easier separation of code. 2023-12-01 15:29:00 -06:00
Robert Chacón
f0e8d3fce3
Merge pull request #428 from LibreQoE/rchac-patch-7
Make integrationUISP more forgiving of format errors in integrationUISProutes.csv
2023-11-29 14:22:58 -07:00
Robert Chacón
37cdf1ce85
Update integrationUISP.py 2023-11-29 14:22:00 -07:00
Herbert Wolverson
fa692d1d3b A much better unit test for parsing the default example ispConfig.example.py 2023-11-21 16:17:50 -06:00
Herbert Wolverson
5eec0605c9 First commit for a unified configuration system.
* Adds PyO3 as a dependency to the config crate.
* Uses PyO3 to load an existing configuration as a Python object.
* Adds some generic conversion code for reading Python types to Rust
  equivalents.
* Adds a preliminary "read the whole existing config into Rust" code.

Not in a shape to use yet, but a good start.
2023-11-21 15:21:16 -06:00
Herbert Wolverson
bba7209caf Change the semantics of the stats gathering thread. If "gather stats"
is set to false, don't spawn any of the collation tasks at all. Instead,
just setup a null channel recipient to silently drop stats messages.

This should allow for close-to-zero CPU overhead if you are a non-stats
using luddite.
2023-11-20 08:59:53 -06:00
Herbert Wolverson
56286f69ee Fix a merge issue with min_max.rs 2023-11-16 12:20:35 -06:00
Herbert Wolverson
affde610ba Merge branch 'develop' 2023-11-16 12:20:03 -06:00
Herbert Wolverson
bcc306b2eb Change stats collation for LTS to the median, thereby avoiding summing overflows. 2023-11-16 12:17:14 -06:00
Herbert Wolverson
b41f786070 Change stats collation for LTS to the median, thereby avoiding summing overflows. 2023-11-16 12:17:14 -06:00
Herbert Wolverson
19a47fcfb1 Update VERSION_STRING file to version 1.4 ready for release. 2023-11-16 11:16:43 -06:00
Robert Chacón
359b155753
Merge pull request #422 from LibreQoE/develop
Develop > Main
2023-11-14 07:46:12 -07:00
Robert Chacón
3b6e69d8a6
Merge pull request #421 from LibreQoE/rchac-patch-6
Fix none error UISP integration
2023-11-14 07:45:51 -07:00
Robert Chacón
7ed0f6fdac
Update integrationUISP.py 2023-11-13 21:27:06 -07:00
Herbert Wolverson
d3e2884273 LTS data collection was occasionally overflowing on calculating
the mean average. If a large-enough block had to be summed,
the total could overflow the storage type. To prevent this from
ever happening, we instead calculate the median - which is
likely to give a better representation anyway.

Also fixes a compile warning.
2023-11-13 08:21:10 -06:00
Robert Chacón
9f829b55c8
Merge pull request #420 from LibreQoE/develop
Develop > Main
2023-11-12 11:05:48 -07:00
Robert Chacón
0169ab836e
Merge pull request #419 from LibreQoE/rchac-patch-5
Update Server Recommendations
2023-11-12 11:05:27 -07:00
Robert Chacón
12fc03c7e2
Update Compute.md 2023-11-12 11:04:31 -07:00
Robert Chacón
1d58786493
Merge pull request #416 from LibreQoE/develop
Develop > Main
2023-11-02 19:07:22 -06:00
Robert Chacón
649c6641b0
Merge pull request #415 from LibreQoE/rchac-patch-4
Update server recs
2023-11-02 19:06:52 -06:00
Robert Chacón
aa2907984c
Update Compute.md 2023-11-02 19:06:31 -06:00
Robert Chacón
0d9d8e4ac8
Merge pull request #414 from LibreQoE/rchac-patch-3
Clarify CircuitID requirements
2023-11-01 09:42:38 -06:00
Robert Chacón
7c8d3ebf28
Update configuration.md 2023-11-01 09:29:04 -06:00
Robert Chacón
d6b5412e8a
Merge pull request #412 from LibreQoE/rchac-patch-2
Update NIC requirements
2023-10-27 05:25:24 -06:00
Robert Chacón
9b22d7257b
Update Networking.md 2023-10-27 05:24:59 -06:00
Robert Chacón
1f1d778778
Merge pull request #411 from LibreQoE/rchac-patch-1
Update troubleshooting.md to include lqosd troubleshooting info
2023-10-26 12:45:19 -06:00
Robert Chacón
e5a79f517a
Update troubleshooting.md 2023-10-26 12:43:49 -06:00
Robert Chacón
9a41b8dcac
Merge pull request #410 from LibreQoE/develop
Develop > Main
2023-10-19 22:58:12 -06:00
Robert Chacón
6b70cf1b1a
Merge pull request #409 from LibreQoE/fix-uisp-283
Fix UISP Integration bug
2023-10-19 22:57:09 -06:00
Robert Chacón
264437c192
Update integrationUISP.py 2023-10-19 22:55:41 -06:00
Herbert Wolverson
c94d82586e Merge branch 'develop' of https://github.com/LibreQoE/LibreQoS into develop 2023-10-18 14:05:09 +00:00
Herbert Wolverson
1f714d676f Fix loading integrationUISPbandwidths.csv when a floating point number snuck in. 2023-10-18 14:05:02 +00:00
Robert Chacón
e66f6ca4b3
Merge pull request #408 from LibreQoE/develop
Include libssl-dev as requirement
2023-10-18 03:34:59 -06:00
Robert Chacón
e8d8641602
Include libssl-dev as requirement 2023-10-18 03:33:33 -06:00
Robert Chacón
11e4e06e91
Merge pull request #407 from LibreQoE/develop
Develop > Main
2023-10-17 13:49:25 -06:00
Robert Chacón
bcbda6a262
Merge pull request #406 from LibreQoE/long_term_stats
Long term stats
2023-10-17 13:48:25 -06:00
Robert Chacón
65909429b5
Merge pull request #405 from LibreQoE/main
Get long_term_stats up to date
2023-10-17 13:47:21 -06:00
Robert Chacón
d2ab00948d
Merge pull request #403 from janrovner/main
throughput_reader sizeof fix, buld_rust.sh fix
2023-10-16 15:58:21 -06:00
Herbert Wolverson
2098baa38b Further clean up the single-queue error message. 2023-10-13 15:33:52 +00:00
Herbert Wolverson
d2a3a89494 Improved error messages for single-queue NICs, and for license validation check. 2023-10-13 15:16:31 +00:00
janrovner
cdcb4cbfc9 throughput_reader sizeof fix, buld_rust.sh fix 2023-10-10 07:54:45 +02:00
Herbert Wolverson
66c8126184 If long-term-stats is unconfigured (as opposed to disabled), periodically
ask the license server if a license for the node id has become available.
This allows for a relatively seamless onboarding - on the server side,
we approve a request. The next time lqosd checks to see if it can submit
stats, it will detect that there is a pending license and update the license
state. On the next cycle, it will begin submitting statistics.
2023-10-06 17:14:17 +00:00
Herbert Wolverson
916645ab93 Update the LTS system to periodically ask if we have a license yet, allowing for automatic configuration of LTS if and when they sign up. This is a WIP - not recommended to merge yet. 2023-10-06 16:37:28 +00:00
Herbert Wolverson
5d5bfcb26d Free trial invite button is a green badge 2023-10-03 20:44:19 +00:00