refactor(host_network): extract NetworkManager as a reusable component

This commit is contained in:
2025-11-04 17:18:25 -05:00
parent cab4eb19ed
commit 4ea1af8d72
10 changed files with 506 additions and 305 deletions

View File

@@ -1,6 +1,6 @@
use std::{
net::{IpAddr, Ipv4Addr},
sync::Arc,
sync::{Arc, OnceLock},
};
use brocade::BrocadeOptions;
@@ -107,6 +107,7 @@ async fn main() {
},
],
switch_client: switch_client.clone(),
network_manager: OnceLock::new(),
};
let inventory = Inventory {