update RemoteController in Dockernet
authorstevenvanrossem <steven.vanrossem@intec.ugent.be>
Wed, 17 Feb 2016 14:07:15 +0000 (15:07 +0100)
committerstevenvanrossem <steven.vanrossem@intec.ugent.be>
Wed, 17 Feb 2016 14:07:15 +0000 (15:07 +0100)
emuvim/api/zerorpcapi_DCNetwork.py

index 83b158a..24becd3 100644 (file)
@@ -32,9 +32,10 @@ class ZeroRpcApiEndpointDCNetwork(object):
 \r
         # start Ryu controller with rest-API\r
         python_install_path = site.getsitepackages()[0]\r
-        ryu_path = python_install_path + '/ryu/app/ofctl_rest.py'\r
+        ryu_path = python_install_path + '/ryu/app/simple_switch_13.py'\r
+        ryu_path2 =  python_install_path + '/ryu/app/ofctl_rest.py'\r
         ryu_cmd =  'ryu-manager'\r
-        self.ryu_process = Popen([ryu_cmd,ryu_path])\r
+        self.ryu_process = Popen([ryu_cmd, ryu_path, ryu_path2])\r
 \r
 \r
     def connectDCNetwork(self, net):\r