Re: [ovs-discuss] Openflow Port Status

2019-07-22 Thread S Suresh
Hi Ben,

My reply inlined.

>Or are you saying that, when
>you take the link down, you get an "up" and then a "down" message
>quickly in succession?
YES. I see when i bring the link down, i get UP and then DOWN message.

Thanks
Suresh.



> On Mon, Jul 22, 2019 at 09:34:46PM +0530, S Suresh wrote:
> > Hi Ben,
> >
> > My test environment is,
> > Mininet, RYU SDN Controller.
> >
> > 2) Mininet shell provides the "link" command , which brings downs the
> link
> > between two switches(port interfaces).
> > mininet>link s1 s2 down
> > which brings the s1 to s2 link down (s1 port connected to s2)
> >
> > 3) Captured the open flow messages in Wire shark, as well as in RYU SDN
> > Controller.
> >
> > Thanks
> > Suresh
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Jul 22, 2019 at 9:15 PM Ben Pfaff  wrote:
> >
> > > On Mon, Jul 22, 2019 at 10:02:33AM +0530, S Suresh wrote:
> > > > I am testing the Openflow Port Status message.
> > > >
> > > > My observations are as follows,
> > > > 1)
> > > > When the port(switch s1, port 1) is down.
> > > > (Note: i was expecting only one PORT Status message with PORT DOWN
> set)
> > > > But I have received two OpenFlow Port Status messages.
> > > > The first message shows  PORT UP (for S1 , port 1).
> > > > Immediately , the second message show PORT DOWN (for S1 , port1).
> > > >
> > > > Is it correct behavior?
> > >
> > > It's surprising behavior.
> > >
> > > Can you explain how to reproduce it?
> > >
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Openflow Port Status

2019-07-22 Thread Ben Pfaff
At what point do you see the "port status up" message?  Is it when you
originally add the link and bring it up?  Or are you saying that, when
you take the link down, you get an "up" and then a "down" message
quickly in succession?

On Mon, Jul 22, 2019 at 09:34:46PM +0530, S Suresh wrote:
> Hi Ben,
> 
> My test environment is,
> Mininet, RYU SDN Controller.
> 
> 2) Mininet shell provides the "link" command , which brings downs the link
> between two switches(port interfaces).
> mininet>link s1 s2 down
> which brings the s1 to s2 link down (s1 port connected to s2)
> 
> 3) Captured the open flow messages in Wire shark, as well as in RYU SDN
> Controller.
> 
> Thanks
> Suresh
> 
> 
> 
> 
> 
> 
> 
> On Mon, Jul 22, 2019 at 9:15 PM Ben Pfaff  wrote:
> 
> > On Mon, Jul 22, 2019 at 10:02:33AM +0530, S Suresh wrote:
> > > I am testing the Openflow Port Status message.
> > >
> > > My observations are as follows,
> > > 1)
> > > When the port(switch s1, port 1) is down.
> > > (Note: i was expecting only one PORT Status message with PORT DOWN set)
> > > But I have received two OpenFlow Port Status messages.
> > > The first message shows  PORT UP (for S1 , port 1).
> > > Immediately , the second message show PORT DOWN (for S1 , port1).
> > >
> > > Is it correct behavior?
> >
> > It's surprising behavior.
> >
> > Can you explain how to reproduce it?
> >
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Openflow Port Status

2019-07-22 Thread S Suresh
Hi Ben,

My test environment is,
Mininet, RYU SDN Controller.

2) Mininet shell provides the "link" command , which brings downs the link
between two switches(port interfaces).
mininet>link s1 s2 down
which brings the s1 to s2 link down (s1 port connected to s2)

3) Captured the open flow messages in Wire shark, as well as in RYU SDN
Controller.

Thanks
Suresh







On Mon, Jul 22, 2019 at 9:15 PM Ben Pfaff  wrote:

> On Mon, Jul 22, 2019 at 10:02:33AM +0530, S Suresh wrote:
> > I am testing the Openflow Port Status message.
> >
> > My observations are as follows,
> > 1)
> > When the port(switch s1, port 1) is down.
> > (Note: i was expecting only one PORT Status message with PORT DOWN set)
> > But I have received two OpenFlow Port Status messages.
> > The first message shows  PORT UP (for S1 , port 1).
> > Immediately , the second message show PORT DOWN (for S1 , port1).
> >
> > Is it correct behavior?
>
> It's surprising behavior.
>
> Can you explain how to reproduce it?
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss