Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxmikant Chintakindi authored and Laxmikant Chintakindi committed Feb 19, 2025
1 parent 8ce78ec commit 0c85f19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _wan_load_balance_policies(self: AvdStructuredConfigNetworkServicesProtocol)
)
for group in get(match["load_balance_policy"], "path_groups", None):
path_group_item = EosCliConfigGen.RouterPathSelection.LoadBalancePoliciesItem.PathGroupsItem(
name=get(group, "name", None), priority=get(group, "priority", None)
name=group["name"], priority=get(group, "priority", None)
)
lb_policy.path_groups.append(path_group_item)
self.structured_config.router_path_selection.load_balance_policies.append(lb_policy)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ def router_path_selection(self: AvdStructuredConfigOverlayProtocol) -> None:
router_path_selection = EosCliConfigGen.RouterPathSelection()
router_path_selection.tcp_mss_ceiling.ipv4_segment_size = self.shared_utils.node_config.dps_mss_ipv4
self._get_path_groups(router_path_selection)
# router_path_selection = {
# "tcp_mss_ceiling": {"ipv4_segment_size": self.shared_utils.node_config.dps_mss_ipv4},
# "path_groups": self._get_path_groups(),
# }

if self.shared_utils.is_wan_server:
router_path_selection.peer_dynamic_source = "stun"
Expand Down

0 comments on commit 0c85f19

Please sign in to comment.