Skip to content
Snippets Groups Projects
Commit 2a4a2132 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp component - Frontend:

- Corrected default link total capacity
parent 69337db4
No related branches found
No related tags found
3 merge requests!359Release TeraFlowSDN 5.0,!328Resolve "(CTTC) Update recommendations to use SocketIO on NBI and E2E Orch components",!286Resolve "(CTTC) Implement integration test between E2E-IP-Optical SDN Controllers"
...@@ -130,7 +130,7 @@ def compose_link(grpc_link : Link) -> Dict: ...@@ -130,7 +130,7 @@ def compose_link(grpc_link : Link) -> Dict:
elif total_capacity_gbps is not None: elif total_capacity_gbps is not None:
used_capacity_gbps = total_capacity_gbps used_capacity_gbps = total_capacity_gbps
if total_capacity_gbps is None: total_capacity_gbps = 100 if total_capacity_gbps is None: total_capacity_gbps = 100000
if used_capacity_gbps is None: used_capacity_gbps = 0 if used_capacity_gbps is None: used_capacity_gbps = 0
available_capacity_gbps = total_capacity_gbps - used_capacity_gbps available_capacity_gbps = total_capacity_gbps - used_capacity_gbps
......
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