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 echo "adding new flows entry to switches 1 and 2"
30 }' http://localhost:8080/stats/flowentry/add
50 }' http://localhost:8080/stats/flowentry/add
69 }' http://localhost:8080/stats/flowentry/add
89 }' http://localhost:8080/stats/flowentry/add
90 echo "Connectivity from h1 to h2"