Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
YufengXin committed Oct 22, 2024
1 parent 8618614 commit 77699d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sdx_controller/handlers/connection_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 77699d9

Please sign in to comment.