On Wed, Oct 14, 2015 at 04:00:18PM +0530, Dheeraj Bansal wrote:
> Can anyone explain the following behavior to me:
> 
> When I add a flow entry to modify VLAN ID of the packet to x
> it gets successfully added, but when I dump the flows for OpenFlow13 the
> value of VLAN ID is always shown as "4096+x"
> 
> ovs-ofctl -O openflow13 add-flow br0 "actions=mod_vlan_vid:<100>"
> ovs-ofctl -O openflow13 dump-flows br0
> =>
> cookie=0x0, duration=3995.186s, table=0, n_packets=0, n_bytes=0,
> actions=push_vlan:0x8100,set_field:4196->vlan_vid

OpenFlow 1.2 and later say that bit 12 is always set in OXM_OF_VLAN_VID
when a VLAN header is present, so Open vSwitch is accurately
implementing that.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to