Commit 49ce0990 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Compute component - IETF L2VPN:

- Added new field availability in SLA Availability update
parent 3d64f3a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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