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

Reply via email to