On May 25, 2014, at 3:04 PM, Karthik Sharma <karthik.sha...@gmail.com> wrote:

> have a controller application listening to the following messages.
> 
> SwitchFeatures
> PortStatus
> PacketIn
> 
> My mininet topology consists of exactly 6 switches and 6 hosts.Each switch 
> has two ports.
> 
> 1) How many SwitchFeatures can I expect my application to see?
> 2) How many PortStatus can I expect my application to see.?
> 
> I am seeing 6 SwitchFeatures messages as expected but I am seeing only a 
> SINGLE PortStatus message?
> 
> Is this expected? Shouldn't I see one PortStatus per each port ( 6 x2 = 12) ?
> 
> Regards,
> Karthik.

You should see at least one features reply for each connection as it's done as 
part of the handshake.  There may be more.  In particular, if you request more.

It's harder to say with port status messages.  These are sent when port state 
changes, which might be never or might be constantly.  So yes, the behavior 
you're seeing is believable as "normal".

-- Murphy

Reply via email to