Fix: Enable learning switch mode in default topo.
authorpeusterm <manuel.peuster@uni-paderborn.de>
Fri, 15 Sep 2017 07:57:23 +0000 (09:57 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Fri, 15 Sep 2017 07:57:23 +0000 (09:57 +0200)
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
src/emuvim/examples/default_single_dc_topology.py

index e30ff19..9574d17 100644 (file)
@@ -46,7 +46,7 @@ logging.getLogger('api.openstack.helper').setLevel(logging.DEBUG)
 
 
 def create_topology():
-    net = DCNetwork(monitor=False, enable_learning=False)
+    net = DCNetwork(monitor=False, enable_learning=True)
 
     dc1 = net.addDatacenter("dc1")
     # add OpenStack-like APIs to the emulated DC