From: peusterm Date: Mon, 4 Jul 2016 09:19:34 +0000 (+0200) Subject: Fixed _restapi.py example topo to support ping example mentioned in main README.md X-Git-Tag: v3.1~104^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=3f7eb55cd89a173f1fd174b9b35bfcd2e9347722;p=osm%2Fvim-emu.git Fixed _restapi.py example topo to support ping example mentioned in main README.md --- diff --git a/src/emuvim/examples/simple_topology_restapi.py b/src/emuvim/examples/simple_topology_restapi.py index 440a085..2a9bb4d 100755 --- a/src/emuvim/examples/simple_topology_restapi.py +++ b/src/emuvim/examples/simple_topology_restapi.py @@ -31,7 +31,7 @@ def create_topology1(): """ 1. Create a data center network object (DCNetwork) """ - net = DCNetwork(monitor=True, enable_learning=False) + net = DCNetwork(monitor=True, enable_learning=True) """ 1b. add a monitoring agent to the DCNetwork