fix: added impl node exporter for hacluster topology and dummy infra

This commit is contained in:
2025-10-22 14:39:12 -04:00
parent 5af13800b7
commit 5ab58f0253
8 changed files with 187 additions and 3 deletions

View File

@@ -39,8 +39,7 @@ async fn main() {
let gateway_ipv4 = Ipv4Addr::new(192, 168, 33, 1);
let gateway_ip = IpAddr::V4(gateway_ipv4);
let topology = harmony::topology::HAClusterTopology {
domain_name: "ncd0.harmony.mcd".to_string(), // TODO this must be set manually correctly
// when setting up the opnsense firewall
domain_name: "ncd0.harmony.mcd".to_string(),
router: Arc::new(UnmanagedRouter::new(
gateway_ip,
Ipv4Cidr::new(lan_subnet, 24).unwrap(),
@@ -84,6 +83,7 @@ async fn main() {
},
],
switch: vec![],
node_exporter: opnsense.clone(),
};
let inventory = Inventory {