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
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