Skip to content
Snippets Groups Projects
Commit 097d722e authored by Shayan Hajipour's avatar Shayan Hajipour
Browse files

Merge branch 'feat/242-cttc-l3slice-ietfslice-service-handler-is-required'...

Merge branch 'feat/242-cttc-l3slice-ietfslice-service-handler-is-required' into camara-demo-integration
parents d6d5e52b 45383bf0
No related branches found
No related tags found
2 merge requests!359Release TeraFlowSDN 5.0,!321Resolve: "(CTTC) CAMARA Demo Integration tests"
...@@ -213,7 +213,12 @@ def extract_source_destination_device_endpoint_info( ...@@ -213,7 +213,12 @@ def extract_source_destination_device_endpoint_info(
raise Exception( raise Exception(
"There should be one common sdp in all connectivity constructs, otherwise, it is not supported" "There should be one common sdp in all connectivity constructs, otherwise, it is not supported"
) )
common_sdp = common_sdps.pop() 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(): for (sender, receiver), metrics in cc_info.items():
cc_bandwidth = metrics.bandwidth cc_bandwidth = metrics.bandwidth
cc_max_delay = metrics.delay cc_max_delay = metrics.delay
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment