From 77699d9a050a4853e55f39e70585cf0fa68caebb Mon Sep 17 00:00:00 2001 From: Yufeng Xin Date: Tue, 22 Oct 2024 12:58:52 -0400 Subject: [PATCH] log --- sdx_controller/handlers/connection_handler.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdx_controller/handlers/connection_handler.py b/sdx_controller/handlers/connection_handler.py index e66035d..4239b8f 100644 --- a/sdx_controller/handlers/connection_handler.py +++ b/sdx_controller/handlers/connection_handler.py @@ -349,6 +349,8 @@ def get_connection_status(db, service_id: str): endpoints = list() request_endpoints = [] response_endpoints = [] + request_uni_a_id = None + request_uni_z_id = None request = db.read_from_db("connections", service_id) if not request: @@ -410,6 +412,10 @@ def get_connection_status(db, service_id: str): if request_uni_z_id == uni_z_port: response_endpoints.append(endpoint_z) + logger.info( + f"endpoints info: {request_uni_a_id}, {request_uni_z_id}, {uni_a_port}, {uni_z_port}" + ) + # TODO: we're missing many of the attributes in the response here # which have been specified in the provisioning spec, such as: # name, description, qos_metrics, notifications, ownership,