Commit 45383bf0 authored by Shayan Hajipour's avatar Shayan Hajipour
Browse files

debug: qos calculation fixed for slice creation

parent b49e1d8f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -213,7 +213,12 @@ def extract_source_destination_device_endpoint_info(
            raise Exception(
                "There should be one common sdp in all connectivity constructs, otherwise, it is not supported"
            )
        if len(common_sdps) == 1:
            common_sdp = common_sdps.pop()
        elif len(common_sdps) == 2:
            common_sdp = sender_sdp
        else:
            raise Exception('Invalid number of common sdps')
    for (sender, receiver), metrics in cc_info.items():
        cc_bandwidth = metrics.bandwidth
        cc_max_delay = metrics.delay