add more logging and add reporting message
Some checks failed
Run Check Script / check (pull_request) Failing after 1m23s

This commit is contained in:
2025-10-23 16:37:43 -04:00
parent 2fe1c5d147
commit 89cb23f4f7
5 changed files with 116 additions and 58 deletions

View File

@@ -247,7 +247,12 @@ impl BrocadeClient for NetworkOperatingSystemClient {
ports: &[PortLocation],
) -> Result<(), Error> {
info!(
"[Brocade] Configuring port-channel '{channel_name} {channel_id}' with ports: {ports:?}"
"[Brocade] Configuring port-channel '{channel_id} {channel_name}' with ports: {}",
ports
.iter()
.map(|p| format!("{p}"))
.collect::<Vec<String>>()
.join(", ")
);
let interfaces = self.get_interfaces().await?;