<div dir="ltr"><div dir="ltr"><div>Hi Ben,</div><div><br></div><div>My reply inlined.<br></div></div><br><div class="gmail_quote">&gt;Or are you saying that, when <br></div><div class="gmail_quote">&gt;you take the link down, you get an &quot;up&quot; and then a &quot;down&quot; message</div><div class="gmail_quote">&gt;quickly in succession?<br><div>YES. I see when i bring the link down, i get UP and then DOWN message.</div><div></div><div><br></div><div>Thanks</div><div>Suresh.<br></div><div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Mon, Jul 22, 2019 at 09:34:46PM +0530, S Suresh wrote:<br>
&gt; Hi Ben,<br>
&gt; <br>
&gt; My test environment is,<br>
&gt; Mininet, RYU SDN Controller.<br>
&gt; <br>
&gt; 2) Mininet shell provides the &quot;link&quot; command , which brings downs the link<br>
&gt; between two switches(port interfaces).<br>
&gt; mininet&gt;link s1 s2 down<br>
&gt; which brings the s1 to s2 link down (s1 port connected to s2)<br>
&gt; <br>
&gt; 3) Captured the open flow messages in Wire shark, as well as in RYU SDN<br>
&gt; Controller.<br>
&gt; <br>
&gt; Thanks<br>
&gt; Suresh<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Mon, Jul 22, 2019 at 9:15 PM Ben Pfaff &lt;<a href="mailto:blp@ovn.org" target="_blank">blp@ovn.org</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; On Mon, Jul 22, 2019 at 10:02:33AM +0530, S Suresh wrote:<br>
&gt; &gt; &gt; I am testing the Openflow Port Status message.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; My observations are as follows,<br>
&gt; &gt; &gt; 1)<br>
&gt; &gt; &gt; When the port(switch s1, port 1) is down.<br>
&gt; &gt; &gt; (Note: i was expecting only one PORT Status message with PORT DOWN set)<br>
&gt; &gt; &gt; But I have received two OpenFlow Port Status messages.<br>
&gt; &gt; &gt; The first message shows  PORT UP (for S1 , port 1).<br>
&gt; &gt; &gt; Immediately , the second message show PORT DOWN (for S1 , port1).<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Is it correct behavior?<br>
&gt; &gt;<br>
&gt; &gt; It&#39;s surprising behavior.<br>
&gt; &gt;<br>
&gt; &gt; Can you explain how to reproduce it?<br>
&gt; &gt;<br>
</blockquote></div></div>