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 2 and 3"
8 curl -X DELETE http://localhost:8080/stats/flowentry/clear/2
9 curl -X DELETE http://localhost:8080/stats/flowentry/clear/3
10 echo "adding new flows entry to switches 2 and 3"
31 }' http://localhost:8080/stats/flowentry/add
52 }' http://localhost:8080/stats/flowentry/add
72 }' http://localhost:8080/stats/flowentry/add
92 }' http://localhost:8080/stats/flowentry/add
93 echo "Connectivity from h2 to h3 droped"