On Tue, 07 Oct 2014 13:28:22 +0900
Minoru TAKAHASHI <[email protected]> wrote:

> In openflow spec 1.2 and 1.3.4, in order to match only packets without a VLAN 
> tag,
> the value of OFPXMT_OFB_VLAN_VID must be set to OFPVID_NONE (0x0000).
> Old API of ofproto_v1_2/3_parser is now enabled to setting the oxm_value to 
> OFPVID_NONE(0x0000) as follows:
> 
> e.g.)
>     match = ofproto_v1_2_parser.OFPMatch()
>     match.set_vlan_vid_none()
> 
> Signed-off-by: Minoru TAKAHASHI <[email protected]>
> ---
>  ryu/ofproto/ofproto_v1_2_parser.py        | 10 +++++----
>  ryu/ofproto/ofproto_v1_3_parser.py        | 10 +++++----
>  ryu/tests/unit/ofproto/test_parser_v12.py | 37 
> +++++++++++++++++++++++++++++++
>  3 files changed, 49 insertions(+), 8 deletions(-)

Applied, thanks. I like to avoid adding new stuff to the old API
though. But I guess that we have to maintain it for some time.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to