feat(bootstrapping): add bootstrap load balancer and DHCP configurations

- Introduce `bootstrap_load_balancer` module for handling initial load balancing configuration.
- Add `bootstrap_dhcp` module for bootstrapping DHCP settings.
- Create `harmony_types` crate to house shared types, including `MacAddress`.
- Update `harmony_macros` to use `harmony_types` instead of directly referencing `harmony`.
This commit is contained in:
jeangab
2025-01-09 11:58:49 -05:00
parent a80ead418e
commit bec96c2954
20 changed files with 208 additions and 55 deletions

8
harmony-rs/Cargo.lock generated
View File

@@ -893,6 +893,8 @@ dependencies = [
"cidr",
"derive-new",
"env_logger",
"harmony_macros",
"harmony_types",
"libredfish",
"log",
"opnsense-config",
@@ -912,11 +914,15 @@ dependencies = [
name = "harmony_macros"
version = "1.0.0"
dependencies = [
"harmony",
"harmony_types",
"quote",
"syn 2.0.90",
]
[[package]]
name = "harmony_types"
version = "1.0.0"
[[package]]
name = "hashbrown"
version = "0.14.5"