Allow logged-in users to update ispConfig.py via web UI

1) lqos_config understands writing to a new ispConfig.py file, copying the
   previous one and amending to avoid changing any not-covered data.
2) The web UI can adjust the config, upload a new one and it is saved.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
This commit is contained in:
Herbert Wolverson
2023-01-10 16:12:09 +00:00
parent bebcbaf7c6
commit 393a489bca
5 changed files with 89 additions and 2 deletions

2
.gitignore vendored
View File

@@ -37,6 +37,8 @@ src/ShapedDevices.csv
src/ShapedDevices.lastLoaded.csv
src/network.json
src/ispConfig.py
src/ispConfig.py.backup
src/ispConfig.py.test
src/statsByCircuit.json
src/statsByParentNode.json
src/lastGoodConfig.json