Putting enable_learning to True by default in sonata_y1_demo_topology_1.py
authorcgeoffroy <geoffroy.chollon@thalesgroup.com>
Mon, 3 Apr 2017 12:18:25 +0000 (14:18 +0200)
committercgeoffroy <geoffroy.chollon@thalesgroup.com>
Mon, 3 Apr 2017 12:18:25 +0000 (14:18 +0200)
src/emuvim/examples/sonata_y1_demo_topology_1.py

index f725225..4098855 100755 (executable)
@@ -43,7 +43,7 @@ logging.basicConfig(level=logging.INFO)
 
 def create_topology1():
     # create topology
-    net = DCNetwork(controller=RemoteController, monitor=False, enable_learning=False)
+    net = DCNetwork(controller=RemoteController, monitor=False, enable_learning=True)
     dc1 = net.addDatacenter("dc1")
     dc2 = net.addDatacenter("dc2")
     s1 = net.addSwitch("s1")