Commit Graph

2089 Commits

Author SHA1 Message Date
Herbert Wolverson
f9fe8fef02 Update lqos_setup to use the combined config format. 2023-12-14 13:58:24 -06:00
Robert Chacón
007975a09e
Merge pull request #440 from LibreQoE/main
Update Develop
2023-12-14 10:48:07 -07:00
Robert Chacón
ee9bd8a21f
Merge pull request #439 from LibreQoE/powercode
Powercode Integration
2023-12-14 10:47:27 -07:00
rchac
bf61e603f0 Powercode 2023-12-14 10:44:06 -07:00
Herbert Wolverson
5a10838dae Deprecate the graphInfluxDb system. 2023-12-14 11:09:55 -06:00
Herbert Wolverson
b604dba613 Update scheduler.py to use the new config, and comment out the influx stuff 2023-12-14 11:08:23 -06:00
Herbert Wolverson
adc0174e64 lqTools.py updated to use unified config 2023-12-14 10:49:11 -06:00
Herbert Wolverson
ba61f30fa4 Update the Spylnx integration to use the new config format. 2023-12-14 10:14:06 -06:00
Herbert Wolverson
2e9f96552f Patch integrationUISP and integrationCommon to run successfully. The exception CPEs system still needs fixing. 2023-12-14 10:08:03 -06:00
Herbert Wolverson
c5cd1fdf6d Not tested - but the integrationUISP.py file has been ported. Testing required. 2023-12-14 09:51:17 -06:00
Robert Chacón
d9f16f2da6
Merge pull request #438 from LibreQoE/rchac-patch-10
Remove verbose output on Splynx Integration
2023-12-10 10:03:52 -07:00
Robert Chacón
95949ed431
Update integrationSplynx.py 2023-12-10 10:03:22 -07:00
Robert Chacón
538a91f0d4
Merge pull request #437 from LibreQoE/rchac-patch-10
Update lint_python.yml
2023-12-10 10:02:39 -07:00
Robert Chacón
9fc2a050d7
Update lint_python.yml 2023-12-10 09:49:27 -07:00
Robert Chacón
12704ad4e3
Merge pull request #435 from LibreQoE/rchac-patch-9
Update integrationSplynx.py
2023-12-09 13:43:41 -07:00
Robert Chacón
e2b9474d96
Update integrationSplynx.py 2023-12-09 13:43:32 -07:00
Robert Chacón
7726c94055
Merge pull request #434 from LibreQoE/rchac-patch-9
Splynx Integration Speedup
2023-12-08 14:07:54 -07:00
Robert Chacón
56244f9c92
Splynx Integration Speedup 2023-12-08 14:06:19 -07:00
Herbert Wolverson
fb638ea439 Untested - integrationCommon.py ported to the new config setup 2023-12-08 13:25:49 -06:00
Herbert Wolverson
342176d6c2 Update csvToNetworkJSON.py to use the new config 2023-12-08 12:36:03 -06:00
Herbert Wolverson
3cf097c78f First pass at a python config API. LibreQoS.py now executes with the new configuration regime. 2023-12-08 12:23:54 -06:00
Herbert Wolverson
861c0b7704 Tweaks to get it running. No python support yet, but the basics now seem to work. 2023-12-08 11:30:15 -06:00
Herbert Wolverson
ccaa382202 It's a mess, but hit the checkpoint of 'it compiles' with lqosd and node_manager attached to the new configuration file format. There is a lot more to do. 2023-12-08 10:38:01 -06:00
Herbert Wolverson
720c31e2d8 Add (untested) logic for renaming old config files and saving the new one. 2023-12-07 11:26:13 -06:00
Herbert Wolverson
737f81d5a5 Finish fleshing out the integration fields. Add some more unit tests and the beginnings of a migration system. 2023-12-07 11:03:17 -06:00
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