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
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.
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
Is it possible to programmatically get the flow table entries from a
switch. I know that aggregate flow stats gives that tells you the
number of bytes sent/received, number of flows matched and match mask
for each flow entries. However, I wanted the actual flow table entry
itself.
Theo