Loading src/service/service/service_handlers/l3nm_ietfl3vpn/L3NM_IETFL3VPN_ServiceHandler.py +5 −5 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ def extract_qos_info_from_connection_group( == "ietf-network-slice-service:one-way-bandwidth" and metric_bound["metric-unit"] == "Mbps" ): bandwidth = int(metric_bound["bound"]) * 1e6 bandwidth = int(metric_bound["bound"]) * 1000000 return max_delay, bandwidth src_cc = next( Loading @@ -103,11 +103,11 @@ def extract_qos_info_from_connection_group( dst_max_delay, dst_bandwidth = extract_qos_info(dst_cc) return QoSInfo( src_qos_profile_latency=src_max_delay, src_input_bw=dst_bandwidth, src_output_bw=src_bandwidth, src_input_bw=src_bandwidth, src_output_bw=dst_bandwidth, dst_qos_profile_latency=dst_max_delay, dst_input_bw=src_bandwidth, dst_output_bw=dst_bandwidth, dst_input_bw=dst_bandwidth, dst_output_bw=src_bandwidth, ) Loading Loading
src/service/service/service_handlers/l3nm_ietfl3vpn/L3NM_IETFL3VPN_ServiceHandler.py +5 −5 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ def extract_qos_info_from_connection_group( == "ietf-network-slice-service:one-way-bandwidth" and metric_bound["metric-unit"] == "Mbps" ): bandwidth = int(metric_bound["bound"]) * 1e6 bandwidth = int(metric_bound["bound"]) * 1000000 return max_delay, bandwidth src_cc = next( Loading @@ -103,11 +103,11 @@ def extract_qos_info_from_connection_group( dst_max_delay, dst_bandwidth = extract_qos_info(dst_cc) return QoSInfo( src_qos_profile_latency=src_max_delay, src_input_bw=dst_bandwidth, src_output_bw=src_bandwidth, src_input_bw=src_bandwidth, src_output_bw=dst_bandwidth, dst_qos_profile_latency=dst_max_delay, dst_input_bw=src_bandwidth, dst_output_bw=dst_bandwidth, dst_input_bw=dst_bandwidth, dst_output_bw=src_bandwidth, ) Loading