Hi,

On 2015年11月17日 14:52, Vishlesh Patel wrote:
> Hi RYU team,
> 
> I want to create a RYU traffic monitoring app with OpenFlow v1. If I want to 
> request statistics for all flow entries. What will my code look like?
> 
> following fails:
> 
> match = ofp.OFPP_ANY or
> match = ofp.OFPP_NONE
> 
> Thanks!

Please write as follows.

 match = ofp_parser.OFPMatch()

And, to set the "match", please refer to "OpenFlow protocol API reference" on 
the Ryu-Documentations.
If you use OpenFlow 1.3, the following section is helpful for you.

 http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#flow-match-structure

thanks,

> 
> Best Regards,
> Vishlesh Patel
> M.S. Computer Engineering
> NYU Polytechnic School of Engineering
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to