Add build script and associated path changes

* Adds build_rust.sh:
   * Creates `src/bin` and `src/bin/static` if needed.
   * Compiles all of the executables in the `rust` tree.
   * Copies the executables into `src/bin`
   * Copies the static web data for `lqos_node_manager`
     into `bin/static`.
* Updates .gitignore to ignore the bin/ folder
* Updates LibreQoS.py to call bin/xdp_iphash_to_cpu_cmdline
  instead of ./xdp_iphash_to_cpu_cmdline (cleaner).
* Updates graphInfluxDB.py to call the temporary Rust shim
  that provides output like the previous one, hopefully
  (poorly tested) allowing the existing graph system to work
  with the new structure.

See #181

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
This commit is contained in:
Herbert Wolverson
2023-01-04 15:35:21 +00:00
parent 10a674abde
commit deded47cac
5 changed files with 73 additions and 11 deletions

1
.gitignore vendored
View File

@@ -48,6 +48,7 @@ src/tinsStats.json
# Ignore Rust build artifacts
src/rust/target
src/bin
# Ignore project folders for some IDEs
.idea/