Re: [ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-26 Thread Patil, Vishal
Sorry I missed that. Many thanks for clarifying. On 6/25/14, 3:50 PM, "Ben Pfaff" wrote: >specify 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 revi

Re: [ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-26 Thread Patil, Vishal
Reading Section 5.10 (Action Set) of the OpenFlow 1.3 spec, it seems that pop vlan Action should have been executed before output. On 6/25/14, 3:26 PM, "Ben Pfaff" wrote: >On Wed, Jun 25, 2014 at 06:55:52PM +, Patil, Vishal wrote: >> BTW I see similar issue with >> >> actions=output:3,strip_

Re: [ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-26 Thread Patil, Vishal
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" wrote: >On Wed, Jun 25, 2014 at 03:56:15PM +, Patil, Vishal wrote: >> I hav

Re: [ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-25 Thread Anurudh Tiwari
only if push_vlan is set ahead of it On Wed, Jun 25, 2014 at 06:55:52PM +, Patil, Vishal wrote: > 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 stripp

Re: [ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-25 Thread Ben Pfaff
You did not specify an action set. Use "write_actions(...)" to specify an action set. Please read ovs-ofctl(8) for more information. On Wed, Jun 25, 2014 at 07:48:29PM +, Patil, Vishal wrote: > Reading Section 5.10 (Action Set) of the OpenFlow 1.3 spec, it seems that > pop vlan > Action shou

Re: [ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-25 Thread Ben Pfaff
On Wed, Jun 25, 2014 at 06:55:52PM +, Patil, Vishal wrote: > 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. Not a bug. Open vSwitch is executing the actions in

Re: [ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-25 Thread Ben Pfaff
On Wed, Jun 25, 2014 at 03:56:15PM +, 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. Howe

[ovs-discuss] OVS executing set_field only if push_vlan is set ahead of it

2014-06-25 Thread Patil, Vishal
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²,