From: stevenvanrossem Date: Wed, 17 Feb 2016 14:07:15 +0000 (+0100) Subject: update RemoteController in Dockernet X-Git-Tag: v3.1~179^2 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=commitdiff_plain;h=8dbaa3d3ebb1d640e8993efffd7e9aada5d43bd9 update RemoteController in Dockernet --- 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):