Commit Graph

1949 Commits

Author SHA1 Message Date
Herbert Wolverson
7836dbc3bb Add a safety feature that if a site isn't found, auto-allocate its bin. 2024-03-01 14:17:59 -06:00
Herbert Wolverson
e9530dff54 Undoes last commit. This is stable. 2024-03-01 13:59:34 -06:00
Herbert Wolverson
728b0a9153 Add support for virtual nodes by accident, finishing up stage 2 that allows us to skip layers in the tree. 2024-03-01 13:50:39 -06:00
Herbert Wolverson
008236796c Stage 1 of the revamp. Instead of modifying traverseNetwork directly, builds a layer per CPU in the network and then uses the previous code. 2024-03-01 13:36:44 -06:00
Herbert Wolverson
fcf07db112 On flat networks, read calculated LTS (or not) weights and apply them to the binpacking circuit weights if found. This makes binpacking more dynamic for flat networks, taking into account usual usage patterns. 2024-03-01 12:12:32 -06:00
Herbert Wolverson
64fc075066 First try at binpacking the top-level shaper nodes. 2024-03-01 11:17:48 -06:00
Herbert Wolverson
0efa269816 Weight calculation for tree nodes. 2024-03-01 10:24:24 -06:00
Herbert Wolverson
088eed555a Correct URL in device_weights.rs 2024-02-08 13:21:56 -06:00
Herbert Wolverson
05d2a398a3 Add a device_weights() call to the Python API
Adds the ability to call device_weights() from liblqos_python.
This returns a set of objects containing circuit_id and weight.

1. The weights are loaded from ShapedDevices.csv using HALF the
   maximum download mbps.
2. If LTS is enabled, a REST call is made to an LTS API located at
   https:/stats.libreqos.io/api/device_weights and the results
   merged in (overwiting existing entries).
3. The merged weights are returned as a Python array of classes.

Example Python code:

```python
from liblqos_python import get_weights;
weights = get_weights();
for w in weights:
    print(w.circuit_id + " : " + str(w.weight));
```
2024-02-08 12:01:12 -06:00
Herbert "TheBracket
206ba2641f
Merge pull request #459 from LibreQoE/unifig
Unified Configuration System
2024-02-07 12:55:32 -06:00
Herbert Wolverson
7180dd7950 BUGFIX: We weren't correctly honouring requests to use a Linux bridge. This patch fixes it. 2024-02-05 11:33:32 -06:00
Herbert Wolverson
3ab165a591 Re-add InfluxDB Support to the unified configuration. 2024-02-04 21:29:02 -06:00
Herbert Wolverson
1ee3543eb1 Add documentation updates for the unified config 2024-02-04 20:55:31 -06:00
Herbert Wolverson
699e265850 Add some small documentation for adding config items. 2024-01-27 10:12:57 -06:00
Herbert Wolverson
e0e81ed715 Finish porting the Sonar integration over 2024-01-27 10:06:46 -06:00
Herbert Wolverson
8a812fe190 Update the parts of the Sonar configuration that are ported. Still have to figure out some types. 2024-01-27 09:46:46 -06:00
Herbert Wolverson
9c2747de37 Update the scheduler to use the latest config system 2024-01-27 09:42:11 -06:00
Herbert Wolverson
ed5cbbc29c Add the beginnings of the Sonar integration into the config system. Add defaults for every Python field to reduce the chances of getting a partial config. 2024-01-27 09:30:54 -06:00
Herbert Wolverson
a24c51065f Fix on-a-stick typo messing up vlans 2024-01-26 16:36:36 -06:00
Herbert Wolverson
d851161670 General warning and documentation pass. 2024-01-26 16:33:35 -06:00
Herbert Wolverson
50bc071db1 Fix issue with queueRefreshInterval being optional but not treated as such, and breaking things. 2024-01-26 16:33:26 -06:00
Herbert Wolverson
84f7562d54 Add line to example file to complete on-a-stick outline. 2024-01-26 16:08:29 -06:00
Herbert Wolverson
b1b01b89a6 Update cargo packages to latest releases, update rocket and sysinfo to newer syntaxes. 2024-01-26 12:50:30 -06:00
Herbert Wolverson
8cd8b7d404 Update example.toml to include the powercode required fields 2024-01-26 11:49:24 -06:00
Herbert Wolverson
3769bc3d84 Merge branch 'main' into unifig 2024-01-26 11:42:19 -06:00
Robert Chacón
bb3700202e
Update README.md 2024-01-23 11:03:34 -07:00
Robert Chacón
232942a216
Update README.md 2024-01-18 10:14:32 -07:00
Robert Chacón
d39322eaaf
Update Compute.md 2024-01-18 10:06:05 -07:00
Robert Chacón
d9acd551f0
Update quickstart-prereq.md 2024-01-18 09:58:09 -07:00
Robert Chacón
c1ed0c2b13
Merge pull request #453 from LibreQoE/main
Main > Develop
2024-01-12 07:55:19 -07:00
Robert Chacón
4b8fef4d35
Merge pull request #452 from LibreQoE/develop
Develop > Main
2024-01-12 07:54:48 -07:00
Herbert Wolverson
69baca1061 File missed from previous commit 2024-01-11 08:43:01 -06:00
Herbert Wolverson
a0f04840cc Update powercode integration to use the unified config 2024-01-08 10:12:22 -06:00
Herbert Wolverson
475e997482 Merge branch 'develop' into unifig 2024-01-08 09:53:26 -06:00
Robert Chacón
f7c5a87746
Merge pull request #451 from LibreQoE/rchac-patch-15
Update mikrotikFindIPv6.py
2024-01-08 00:00:34 -07:00
Robert Chacón
8d663aa009
Update mikrotikFindIPv6.py 2024-01-08 00:00:24 -07:00
Robert Chacón
e3e0e0f7bb
Merge pull request #450 from LibreQoE/rchac-patch-14
Fix bug in mikrotikFindIPv6.py
2024-01-07 23:50:22 -07:00
Robert Chacón
43fe3c2edf
Update mikrotikFindIPv6.py 2024-01-07 23:48:49 -07:00
Robert Chacón
14075ed763
Merge pull request #449 from LibreQoE/rchac-patch-13
Update integrations.md
2024-01-05 17:15:40 -07:00
Robert Chacón
1cc6a5464e
Update integrations.md 2024-01-05 17:15:32 -07:00
Robert Chacón
5d0723e717
Merge pull request #448 from LibreQoE/rchac-patch-12
Update ispConfig.example.py
2024-01-05 17:11:22 -07:00
Robert Chacón
0099bf9f38
Update ispConfig.example.py 2024-01-05 17:11:10 -07:00
Robert Chacón
623a9acd0d
Update README.md 2024-01-03 21:08:58 -07:00
Robert Chacón
54440ceba5
Update README.md 2024-01-03 21:01:40 -07:00
Robert Chacón
f387e069ee
Update README.md 2024-01-03 16:53:54 -07:00
Robert Chacón
2c9657e973
Merge pull request #446 from LibreQoE/main
Update integrationPowercode.py
2023-12-20 12:29:19 -07:00
Robert Chacón
ff467e0e1b
Update integrationPowercode.py 2023-12-20 12:28:20 -07:00
Robert Chacón
e7319b48b5
Merge pull request #444 from LibreQoE/main
Update Develop
2023-12-20 08:51:48 -07:00
Robert Chacón
48f15607dc
Merge pull request #372 from Charles-Meh/charles
Added Sonar integration
2023-12-20 08:50:34 -07:00
Robert Chacón
73ab9359ea
Merge branch 'develop' into charles 2023-12-20 08:50:22 -07:00