[ovs-dev] [PATCH] ofproto: Set-Field VLAN_VID should not check OFPVID_PRESENT

Jarno Rajahalme jrajahalme at nicira.com
Fri Nov 22 00:12:49 UTC 2013


On Nov 21, 2013, at 3:47 PM, Marco Canini <marco.canini at acm.org> wrote:

> Currently set_field_from_openflow is checking that the OFPVID_PRESENT bit is set for a set VLAN_VID action to be valid.
> I am reading the OF specs 1.2, 1.3 and 1.4, and I cannot see any mentioning of OFPVID_PRESENT being required in this context. OFPVID_PRESENT is used as a special VLAN_VID value for matching.
> 

OpenFlow Specification 1.3.3 (https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.3.3.pdf), p. 65:

“The value in the payload of the OXM TLV must be valid, in particular the OFPVID_PRESENT bit must be set in OXM_OF_VLAN_VID set-field actions.”

Haven’t checked 1.4 text, is this missing from there?

  Jarno




More information about the dev mailing list