Skip to content
Snippets Groups Projects
Commit 43b0f9dc authored by Carlos Manso's avatar Carlos Manso
Browse files

Merge branch...

Merge branch 'feat/216-cttc-implement-integration-test-between-e2e-ip-optical-sdn-controllers' of https://labs.etsi.org/rep/tfs/controller into feat/216-cttc-implement-integration-test-between-e2e-ip-optical-sdn-controllers
parents 4856f3d8 9d9778b1
No related branches found
No related tags found
1 merge request!286Resolve "(CTTC) Implement integration test between E2E-IP-Optical SDN Controllers"
...@@ -39,6 +39,7 @@ from common.Constants import DEFAULT_CONTEXT_NAME, DEFAULT_TOPOLOGY_NAME ...@@ -39,6 +39,7 @@ from common.Constants import DEFAULT_CONTEXT_NAME, DEFAULT_TOPOLOGY_NAME
LOGGER = logging.getLogger(__name__) LOGGER = logging.getLogger(__name__)
logging.getLogger("websockets").propagate = True logging.getLogger("websockets").propagate = True
logging.getLogger("requests.packages.urllib3").propagate = True
METRICS_POOL = MetricsPool("E2EOrchestrator", "RPC") METRICS_POOL = MetricsPool("E2EOrchestrator", "RPC")
...@@ -199,6 +200,7 @@ class E2EOrchestratorServiceServicerImpl(E2EOrchestratorServiceServicer): ...@@ -199,6 +200,7 @@ class E2EOrchestratorServiceServicerImpl(E2EOrchestratorServiceServicer):
LOGGER.info(f'Retrieving external controller #{i}') LOGGER.info(f'Retrieving external controller #{i}')
url = f'http://{ADD}:{PORT}/tfs-api/context/{DEFAULT_CONTEXT_NAME}/topology_details/{DEFAULT_TOPOLOGY_NAME}' url = f'http://{ADD}:{PORT}/tfs-api/context/{DEFAULT_CONTEXT_NAME}/topology_details/{DEFAULT_TOPOLOGY_NAME}'
topo = requests.get(url).json() topo = requests.get(url).json()
LOGGER.info(f'Retrieved external controller #{i}')
except Exception as e: except Exception as e:
LOGGER.info(f'Exception retrieven topology from external controler #{i}: {e}') LOGGER.info(f'Exception retrieven topology from external controler #{i}: {e}')
topology_details = TopologyDetails(**topo) topology_details = TopologyDetails(**topo)
......
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