Ben

BTW I see similar issue with

actions=output:3,strip_vlan


With actions specified in this order, the packet is directly sent to port 3
Without the vlan being stripped.

- Vishal

On 6/25/14, 2:38 PM, "Ben Pfaff" <[email protected]> wrote:

>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).


________________________________

DISCLAIMER:
This e-mail and any attachments to it may contain confidential and proprietary 
material and is solely for the use of the intended recipient. Any review, use, 
disclosure, distribution or copying of this transmittal is prohibited except by 
or on behalf of the intended recipient. If you have received this transmittal 
in error, please notify the sender and destroy this e-mail and any attachments 
and all copies, whether electronic or printed.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to