Loading src/compute/service/rest_server/nbi_plugins/ietf_l2vpn/L2VPN_SiteNetworkAccesses.py +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ def process_site_network_access(context_client : ContextClient, site_id : str, s location_endpoints.setdefault(str_location_id, set()).add(str_endpoint_id) num_endpoints_per_location = {len(endpoints) for endpoints in location_endpoints.values()} num_disjoint_paths = min(num_endpoints_per_location) update_constraint_sla_availability(constraints, num_disjoint_paths, all_active) update_constraint_sla_availability(constraints, num_disjoint_paths, all_active, 0.0) return target Loading Loading
src/compute/service/rest_server/nbi_plugins/ietf_l2vpn/L2VPN_SiteNetworkAccesses.py +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ def process_site_network_access(context_client : ContextClient, site_id : str, s location_endpoints.setdefault(str_location_id, set()).add(str_endpoint_id) num_endpoints_per_location = {len(endpoints) for endpoints in location_endpoints.values()} num_disjoint_paths = min(num_endpoints_per_location) update_constraint_sla_availability(constraints, num_disjoint_paths, all_active) update_constraint_sla_availability(constraints, num_disjoint_paths, all_active, 0.0) return target Loading