Hi Hamid,

At the openflow protocol level, you can ask for stats for the OFPP_ALL
port, which will give you stats back on all of the ports.  It's not
possible to supply an arbitrary list: it's either a single specific
port or ALL.

- Rob
.



On Thu, Apr 14, 2011 at 1:15 AM, Hamid Bazzaz <[email protected]> wrote:
> Hi folks,
>
> I would like to write a function in my NOX application to get the stats from
> a set of ports of a certain switch. I found a function called
> "send_port_stats_request" in coreapps/pyrt/pycontext.cc which requests for
> stats from a _single_ port. But given that a Port_stats_in_event contains a
> vector of ports I am sure there should be a way to request for stats of
> multiple ports through a single request. I am wondering what is the way to
> do so. Is there any sample code for requesting and receiving ports stats
> that I could use besides pycontext.cc?
>
> Thanks,
> --Hamid
>
> _______________________________________________
> nox-dev mailing list
> [email protected]
> http://noxrepo.org/mailman/listinfo/nox-dev
>
>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to