Skip to content

Commit

Permalink
Try this: perform route building AFTER single AP squashing. This ensu…
Browse files Browse the repository at this point in the history
…res that the route weights that are used match the "logical" weights.
  • Loading branch information
thebracket committed Jan 14, 2025
1 parent d10796f commit 7022a9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rust/uisp_integration/src/strategies/full/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ pub async fn build_full_network(
// Do Link Squashing
squash_single_aps(&mut sites)?;

// Build Path Weights
walk_tree_for_routing(&mut sites, &root_site, &routing_overrides)?;

// Apply bandwidth overrides
apply_bandwidth_overrides(&mut sites, &bandwidth_overrides);

Expand All @@ -140,6 +137,9 @@ pub async fn build_full_network(
// Squash any sites that are in the squash list
squash_squashed_sites(&mut sites, config.clone(), &root_site)?;

// Build Path Weights
walk_tree_for_routing(&mut sites, &root_site, &routing_overrides)?;

// Print Sites
if let Some(root_idx) = sites.iter().position(|s| s.name == root_site) {
// Issue No Parent Warnings
Expand Down

0 comments on commit 7022a9d

Please sign in to comment.