From 1a58a103ee0608021cf6463c71c4a2f3596a4f99 Mon Sep 17 00:00:00 2001 From: rahhal <mrahhal@cttc.es> Date: Fri, 14 Mar 2025 09:18:57 +0000 Subject: [PATCH] Device-Service component - Ryu - Driver - Service Handler: - Added Connectivity Service - Added Driver - Tested Onboarding & Service Function --- src/device/service/drivers/OpenFlow/OpenFlowDriver.py | 11 +++++++++-- src/device/service/drivers/OpenFlow/TfsApiClient.py | 1 - 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/device/service/drivers/OpenFlow/OpenFlowDriver.py b/src/device/service/drivers/OpenFlow/OpenFlowDriver.py index cd336f7bf..82f330814 100644 --- a/src/device/service/drivers/OpenFlow/OpenFlowDriver.py +++ b/src/device/service/drivers/OpenFlow/OpenFlowDriver.py @@ -184,7 +184,11 @@ class OpenFlowDriver(_Driver): "max_len": 65535, "type": "OUTPUT", "port": out_port - }]}]} + } + ] + } + ] + } flow_entry_arp_foraward = { "dpid": dpid, @@ -201,7 +205,10 @@ class OpenFlowDriver(_Driver): "type": "OUTPUT", "port": "0xfffffffb" } - ]}]} + ] + } + ] + } flow_entry_arp_reply = { "dpid": dpid, "priority": 65535, diff --git a/src/device/service/drivers/OpenFlow/TfsApiClient.py b/src/device/service/drivers/OpenFlow/TfsApiClient.py index bc95fe9ff..55d8c4b63 100644 --- a/src/device/service/drivers/OpenFlow/TfsApiClient.py +++ b/src/device/service/drivers/OpenFlow/TfsApiClient.py @@ -144,6 +144,5 @@ class TfsApiClient: 'endpoints': link_endpoint_ids, } result.append((link_url, link_data)) -# LOGGER.debug('[get_devices_endpoints] topology; returning') return result -- GitLab