Add YAML configuration model and loader

Config is layered: built-in defaults, then the YAML file, then BFD_* environment variables, then CLI flags. Global defaults live under a 'defaults' mapping; per-peer settings are file-only. Includes config.yaml.dist and ScriptHookSink::with_script_dir so the hooks directory is configurable.
This commit is contained in:
ktims committed 2026-10-22 17:48:59 -07:00
1 parent 0284ee17b1
commit ea56afd2f2
6 files changed
+754 -2

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
pub mod bfd;
pub mod config;
pub mod control;
pub mod events;