Hi Kyriakos,
Yes, with port stats request, NEC switch also send back one message per port.
Actually, NEC switch uses flags (in ofp_stats_reply struct) to indicate if 
there is a subsequent message to statistics reply message.
When there is a subsequent message to Statistics Reply message, "1" is set to 
the flags of the Statics Reply message. Otherwise, "0" is set.
Then, I am trying to modify monitoring component in nox-destiny branch to merge 
the messages and send them to nox-gui as one.


MinChi
From: Kyriakos Zarifis [mailto:kyr.zari...@gmail.com]
Sent: Tuesday, February 08, 2011 9:28 AM
To: MinChi Tseng
Cc: nox-dev@noxrepo.org
Subject: Re: [nox-dev] nox-gui.py only shows one flow entry

Hi MinChi,

thanks for reporting this, we haven't actually had the chance to play around 
with a NEC switch and hadn't come across this so far. So just to clarify, when 
you request port stats, does the NEC switch send back one message per port?
It looks like we should tweak it to multiplex the messages and parse/present 
them as one.
On Mon, Feb 7, 2011 at 5:13 PM, MinChi Tseng 
<min...@cht.com.tw<mailto:min...@cht.com.tw>> wrote:
Hi All,
I am using nox-destiny branch and NEC IP8800 openflow-enabled switch.

nox-gui.py only shows one flow entry information even though there are more 
than one flow entries on the openflow switch.
And I found that it is because the openflow switch replied each flow statistics 
in individual packet.
In other word, if there are two flow entries on the openflow switch, then two 
flow statistics reply messages are sent to NOX.
Instead of putting two flow entries information in one flow statistics reply 
messages, it caused nox-gui.py always showing one flow entry result.
Also, it is the same situation on port statistics request.
nox-gui.py only shows one port information.


The openflow spec doesn't restrict the openflow switch to put the whole 
statistics in ONE reply message.
Any suggestion?

Thanks,
MinChi




_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org<mailto:nox-dev@noxrepo.org>
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to