On Wed, Jun 25, 2014 at 03:56:15PM +0000, Patil, Vishal wrote:
> I have the following flow set on my OVS
> 
> in_port=2,dl_src=fa:16:3e:00:05:90
> actions=set_field:102->vlan_vid,push_vlan:0x8100,goto_table:10
> 
> The problem is this flow does not set the vlan id on the packets as
> expected. However if I modify the
> Flow such that the ?push_vlan? is set before ?Set_field?, I get the
> desired behavior. I.e.
> The following flow does set the vlan id.
> 
> in_port=2,dl_src=fa:16:3e:00:05:90
> actions=push_vlan:0x8100,set_field:102->vlan_vid,goto_table:10
> 
> 
> Is this a bug ?

This is a murky area of the OpenFlow standards.  I recommend pushing a
VLAN header before you try to modify it (it makes more sense that way
anyhow).
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to