From 8dbaa3d3ebb1d640e8993efffd7e9aada5d43bd9 Mon Sep 17 00:00:00 2001 From: stevenvanrossem Date: Wed, 17 Feb 2016 15:07:15 +0100 Subject: [PATCH] update RemoteController in Dockernet --- emuvim/api/zerorpcapi_DCNetwork.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emuvim/api/zerorpcapi_DCNetwork.py b/emuvim/api/zerorpcapi_DCNetwork.py index 83b158a..24becd3 100644 --- a/emuvim/api/zerorpcapi_DCNetwork.py +++ b/emuvim/api/zerorpcapi_DCNetwork.py @@ -32,9 +32,10 @@ class ZeroRpcApiEndpointDCNetwork(object): # start Ryu controller with rest-API python_install_path = site.getsitepackages()[0] - ryu_path = python_install_path + '/ryu/app/ofctl_rest.py' + ryu_path = python_install_path + '/ryu/app/simple_switch_13.py' + ryu_path2 = python_install_path + '/ryu/app/ofctl_rest.py' ryu_cmd = 'ryu-manager' - self.ryu_process = Popen([ryu_cmd,ryu_path]) + self.ryu_process = Popen([ryu_cmd, ryu_path, ryu_path2]) def connectDCNetwork(self, net): -- 2.25.1