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 new flows entry to switches 1 and 2"
31 }' http://localhost:8080/stats/flowentry/add
51 }' http://localhost:8080/stats/flowentry/add
70 }' http://localhost:8080/stats/flowentry/add
90 }' http://localhost:8080/stats/flowentry/add
91 echo "Connectivity from h1 to h2"