From: stevenvanrossem Date: Wed, 4 May 2016 15:30:26 +0000 (+0200) Subject: enable learning switch X-Git-Tag: v3.1~133^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=e66ea3b901360918ef114598a5195f6be9c42544;p=osm%2Fvim-emu.git enable learning switch --- diff --git a/src/emuvim/dcemulator/net.py b/src/emuvim/dcemulator/net.py index 9c5a301..633ec6b 100755 --- a/src/emuvim/dcemulator/net.py +++ b/src/emuvim/dcemulator/net.py @@ -338,9 +338,9 @@ class DCNetwork(Dockernet): ryu_of_port = '6653' ryu_cmd = 'ryu-manager' FNULL = open("/tmp/ryu.log", 'w') - #self.ryu_process = Popen([ryu_cmd, ryu_path, ryu_path2, ryu_option, ryu_of_port], stdout=FNULL, stderr=FNULL) + self.ryu_process = Popen([ryu_cmd, ryu_path, ryu_path2, ryu_option, ryu_of_port], stdout=FNULL, stderr=FNULL) # no learning switch - self.ryu_process = Popen([ryu_cmd, ryu_path2, ryu_option, ryu_of_port], stdout=FNULL, stderr=FNULL) + #self.ryu_process = Popen([ryu_cmd, ryu_path2, ryu_option, ryu_of_port], stdout=FNULL, stderr=FNULL) time.sleep(1) def stopRyu(self):