fix(host_network): skip configuration for host with only 1 interface/port #185

Merged
letian merged 14 commits from fix-bond-for-one-interface into master 2025-11-06 00:07:21 +00:00
5 changed files with 135 additions and 250 deletions
Showing only changes of commit 7fe15ffa24 - Show all commits

View File

@@ -150,15 +150,6 @@ impl HostNetworkConfigurationInterpret {
];
for config in configs {
let host = self
.score
.hosts
.iter()
.find(|h| h.id == config.host_id)
.unwrap();
println!("[Host] {host}");
if config.switch_ports.is_empty() {
report.push(format!(
"⏭️ Host {}: SKIPPED (No matching switch ports found)",