3 Written by: Felix G. Tejada
5 This script is applied to a linear 3 topo, just for show the example
7 echo "Cleaning all flows entry switch dpid 1 and 2"
8 curl -X DELETE http://localhost:8080/stats/flowentry/clear/1
9 curl -X DELETE http://localhost:8080/stats/flowentry/clear/2
10 curl -X DELETE http://localhost:8080/stats/flowentry/clear/3
11 echo "adding default flows entry to all switches"
29 }' http://localhost:8080/stats/flowentry/add
48 }' http://localhost:8080/stats/flowentry/add
66 }' http://localhost:8080/stats/flowentry/add