diff options
author | Minoru TAKAHASHI <takahashi.minoru7@gmail.com> | 2014-10-07 13:28:22 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-10-09 23:51:55 +0900 |
commit | 1e72c73685afe101f4d91dc97ccd84a2733152d6 (patch) | |
tree | 7e2b148b3f43d5d1dee8248f8893c68acbea4480 /CONTRIBUTING.rst | |
parent | baf4b7a01a0e12074dbad331faabe44feb0f913b (diff) |
of12/3: support setting the oxm_value to OFPVID_NONE
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 <takahashi.minoru7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions