pervio a la presentacion
[vsorcdistro/.git] / scripts / resetflows.sh
index 174683b26819559f21d13726428594314955c8a7..c380479c827d4ba84b2a537d6b302b588bdd867f 100755 (executable)
@@ -5,10 +5,7 @@ Written by: Felix G. Tejada
 This script is applied to a linear 3 topo, just for show the example
 '
 dpid=$1
-echo "Cleaning all flows entrys"
 curl -X DELETE http://localhost:8080/stats/flowentry/clear/$dpid
-echo "adding default flows entry to all switches"
-sleep 1
 curl -X POST -d '{
     "dpid": "'"$dpid"'",
     "cookie": 0,
@@ -26,4 +23,4 @@ curl -X POST -d '{
         }
     ]
  }' http://localhost:8080/stats/flowentry/add
-echo "Done"
+echo "Flows was reseted"