Skip to content

Commit

Permalink
core: Add logging to phynode setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nrybowski committed Feb 10, 2025
1 parent 2fcaf80 commit cb10f00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dune-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,14 @@ impl Dune {

info!("Got <{}> nodes to install on <{phynode}>", nodes.len());

// Instanciate nodes
let span = span!(Level::INFO, "nodes").entered();
nodes.iter().for_each(|node| node.init());
span.exit();

// Configure interfaces
let span = span!(Level::INFO, "interfaces").entered();
nodes.iter().for_each(|node| node.setup());
span.exit();
}
}

0 comments on commit cb10f00

Please sign in to comment.