From 3019b226bd0dca9cd2bf0f2ca0d6fbc927e3ab8e Mon Sep 17 00:00:00 2001
From: Mohamad Rahhal <mrahhal@cttc.es>
Date: Tue, 10 Jun 2025 16:08:04 +0000
Subject: [PATCH] Update file Mininet.Dockerfile

---
 src/tests/ryu-openflow/Mininet.Dockerfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/tests/ryu-openflow/Mininet.Dockerfile b/src/tests/ryu-openflow/Mininet.Dockerfile
index 0a829bb49..4b6bee010 100644
--- a/src/tests/ryu-openflow/Mininet.Dockerfile
+++ b/src/tests/ryu-openflow/Mininet.Dockerfile
@@ -24,4 +24,7 @@ RUN apt-get update && \
 
 COPY src/tests/ryu-openflow/custom_pentagon_topology.py /opt/custom_pentagon_topology.py
 
-CMD ["python3", "/opt/custom_pentagon_topology.py"]
+CMD sh -c "/usr/share/openvswitch/scripts/ovs-ctl start && python3 /opt/custom_pentagon_topology.py"
+
+
+#CMD ["python3", "/opt/custom_pentagon_topology.py"]
-- 
GitLab