Commit Graph

2200 Commits

Author SHA1 Message Date
Herbert Wolverson
c9f9c51e7e Merge with develop to resolve update conflicts and preserve building both the support tool and this branch (both modified build scripts on the same lines) 2024-06-15 09:43:11 -05:00
Herbert Wolverson
564eb7297b Cargo.lock update 2024-06-15 09:37:39 -05:00
Herbert Wolverson
2dbdd1c038 Re-enable AP speed selection. 2024-06-15 09:15:01 -05:00
Herbert Wolverson
20a7e3512d Fix a subtle bug that when squashing sites that only have one decendent, speeds were being applied incorrectly. 2024-06-15 09:15:01 -05:00
Herbert Wolverson
779ef162d3 Trying Robert's suggestion for using min when promoting access devices. 2024-06-15 09:15:01 -05:00
Herbert Wolverson
680851b5a8 I believe this fixes the client site speed issue. 2024-06-15 09:15:01 -05:00
Robert Chacón
420b6e1ca6 Update mikrotikFindIPv6.py 2024-06-15 09:15:01 -05:00
Herbert Wolverson
b51c7a35bc Now with the mising file. Sorry. 2024-06-15 09:15:01 -05:00
Herbert Wolverson
a72e6ae4ff Implement a full PyO3 system to run mikrotikFindIPv6.py in-process as part of the uisp_integration run, and retrieve results. The results are then applied. 2024-06-15 09:14:58 -05:00
Herbert Wolverson
bb75727940 Second environment variable override option. Set LQOS_CONFIG to the location of a .conf file, and that one will be loaded instead of the hard-coded path. This is also intended to help with multiple instances. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
297bdcd58e Add support for LQOS_DIRECTORY environment variable overriding the
saved value when loading the config file.

If LQOS_DIRECTORY is not set, nothing happens.

If LQOS_DIRECTORY is set---for example with:

```
export LQOS_DIRECTORY="/opt/libreqos2"
```

Then the directory is overridden in the loaded configuration from
the environment variable.

This is designed to make it easier to have multiple instances---for
example for building configuration and then distributing it.
2024-06-15 09:14:53 -05:00
Robert Chacón
78c2388501 Update bandwidth_overrides.rs 2024-06-15 09:14:53 -05:00
Robert Chacón
b4619da030 Update network_json.rs 2024-06-15 09:14:53 -05:00
Herbert Wolverson
21b1f4d24b More unit tests for bandwidth overrides 2024-06-15 09:14:53 -05:00
Herbert Wolverson
1952498ce2 Add documentation and cleanup 2024-06-15 09:14:53 -05:00
Herbert Wolverson
3696c14fc9 Some more linter suggestions applied 2024-06-15 09:14:53 -05:00
Herbert Wolverson
cbd0a785ce Format run 2024-06-15 09:14:53 -05:00
Herbert Wolverson
abe16aff39 Linter and cleanup run 2024-06-15 09:14:53 -05:00
Herbert Wolverson
d058b49d0f Add debug code to bandwidth overrides, and suddenly it works? 2024-06-15 09:14:53 -05:00
Herbert Wolverson
49d261fb85 Adds an 'orphaned nodes' entry that acts as a catch-all for entries for whom a parent could not be deduced. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
b4e3484ff1 Handle floats and ints in overrides 2024-06-15 09:14:53 -05:00
Herbert Wolverson
6f986f4cd1 Handle exception CPE reparenting. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
631b9672f5 Bandwidth overrides are correctly applied. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
1c0aba7c78 Add a zero-capacity site correction to UISP integration. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
4e3da50adf Add minimums to calculated min/max speeds - missed a bit. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
0851a02084 Add minimums to calculated min/max speeds. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
d1b9b4e02a More depth tweaking 2024-06-15 09:14:53 -05:00
Herbert Wolverson
2cfd1f90b7 Correct traversal depth 2024-06-15 09:14:53 -05:00
Herbert Wolverson
0328bc10a3 Correct output IP format. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
05e4a2f59f Correct output order in CSV files 2024-06-15 09:14:53 -05:00
Herbert Wolverson
b6eadc2edf Add in a flat exporter 2024-06-15 09:14:53 -05:00
Herbert Wolverson
db2a301019 Include uisp_integration in build_rust and the build_dpkg scripts. Adjust the scheduler to use subprocess.run to call the new integration. 2024-06-15 09:14:51 -05:00
Herbert Wolverson
14d466898c Format run 2024-06-15 09:12:46 -05:00
Herbert Wolverson
250c091eee Add ShapedDevices.csv creation. 2024-06-15 09:12:45 -05:00
Herbert Wolverson
557d51b53d Add writing network.json 2024-06-15 09:12:41 -05:00
Herbert Wolverson
d7181a663d Support routing overrides 2024-06-15 09:12:37 -05:00
Herbert Wolverson
6cd3993a34 Change client promotion strategy slightly, now it lines up on my system. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
78a8f6dad1 Support for i64 capacaty on devices. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
702c913a01 Re-add disconnected warning. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
5ac3e45aee Reversed links are now handled correctly. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
cfab0ae924 Include 'back' links - so to/from order is irrelevant. 2024-06-15 09:12:35 -05:00
Herbert Wolverson
b93486ee4c Now featuring capacities from UISP, applied and moved around for squashing. 2024-06-15 09:12:32 -05:00
Herbert Wolverson
d13a17821a First attempt at a Rust-based UISP integration system. There's still a LOT to implement, but the basics are there and it isn't missing anything on my crazy layout. 2024-06-15 09:12:27 -05:00
Robert Chacón
fb185837cf
Merge pull request #493 from LibreQoE/lqos_support_tools
Lqos support tools
2024-06-15 07:41:21 -06:00
Herbert Wolverson
bc60689984 Missed two files from previous commit 2024-06-14 15:07:26 -05:00
Herbert Wolverson
ba8b2c81a9 #495 - Hoping I got the syntax right, but ignore a vulnerability in a transitive dependency that we don't seem to actually use at all - idna and black. 2024-06-14 14:46:15 -05:00
Herbert Wolverson
4913b0e5cf #495 - Hoping I got the syntax right, but ignore a vulnerability in a transitive dependency that we don't seem to actually use at all - Jinja. 2024-06-14 14:44:47 -05:00
Herbert Wolverson
0b425f4860 ISSUE #495 Correct typo 2024-06-14 14:36:10 -05:00
Herbert Wolverson
c931ab1cc9 References #495 - Cleanup Rust check script with some absolute paths. It fails randomly sometimes, apparently due to a bug in sudo not finding paths properly. 2024-06-14 14:32:08 -05:00
Herbert Wolverson
3a7637d219 ISSUE #495
Add two more issues to ignore because they aren't useful:
* B501. We NEED to support self-signed certificates.
* B607. Partial paths are just fine. Absolute paths would make
  everything needlessly complicated.
2024-06-14 14:26:58 -05:00