<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
have created a simple topology using Mininet in which I have created a single switch and connected it to a remote controller (POX). I installed a simple flow rule using Mininet CLI which commands the switch to drop all packets.
<div class="">
<pre class="" style="overflow-x: auto; overflow-y: hidden; padding: 5px; color: rgb(51, 51, 51); line-height: 15.600000381469727px; border-top-width: 1px; border-bottom-width: 1px; border-style: solid none; border-top-color: rgb(170, 204, 153); border-bottom-color: rgb(170, 204, 153);"><span class="" style="background-color: rgba(255, 255, 255, 0);">sh ovs-ofctl add-flow s1 priority=40000,hard_timeout=30,actions=drop</span></pre>
</div>
<div class="">
<div class="">Now In POX CLI I run the following command </div>
<div class=""><br class="">
</div>
<div class="">
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span class="" style="font-variant-ligatures: no-common-ligatures;">msg = of.ofp_flow_mod(command=of.OFPFC_DELETE)</span></div>
</div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><br class="">
</span></div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal;">
Although now when I do a Dump-flow command on mininet terminal it still shows the flow is installed </div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal;">
Also, I tried to ping h1 and h2, and the packets are being dropped (which means that the flow is still there)</div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal;">
<br class="">
</div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal;">
<br class="">
</div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span class="" style="font-variant-ligatures: no-common-ligatures;">Could you please point out the error in my execution here. </span></div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><br class="">
</span></div>
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span class="" style="font-variant-ligatures: no-common-ligatures;">Thanks</span></div>
<div class="">***********************************************</div>
</div>
<div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">
************************************************************************<br class="">
Himanshu Sukheja<span class="Apple-tab-span" style="white-space: pre;"> </span><br class="">
</div>
</div>
</body>
</html>