Re: [nox-dev] Getting flow table entries from switch

2011-11-10 Thread Kyriakos Zarifis
Exactly. FWIW, this is the API that the GUI uses and they were developed in parallel. If you want to parse the flow table and act on that, you should use that Monitoring API. If all you need to do is print it out / look at it you might as well use the GUI directly - but it any case you can look the

Re: [nox-dev] Getting flow table entries from switch

2011-11-10 Thread Aaron Rosen
you also need to: from nox.netapps.monitoring.monitoring import Monitoring On Thu, Nov 10, 2011 at 9:44 PM, Aaron Rosen wrote: > Hi Theo, > > Yup there is a Monitoring.send_flow_stats_request() > > Cheers, > > Aaron > > P.S: here are some hints to get it working if it helps: > > import nox.lib.

Re: [nox-dev] Getting flow table entries from switch

2011-11-10 Thread Aaron Rosen
Hi Theo, Yup there is a Monitoring.send_flow_stats_request() Cheers, Aaron P.S: here are some hints to get it working if it helps: import nox.lib.pyopenflow as of def send_flow_stats_request(): global xid flows = of.ofp_match() flows.wildcards = of.OFPFW_ALL ^ of.OFPFW_DL_SRC ma