[ovs-discuss] Usage of FLOW_U32S ?

2013-11-09 Thread Amardeep Singh Chawla
What do we need to define FLOW_U32S in flow.h as (sizeof(struct flow) / 4) ? Thanks Amar ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Write_metadata and resubmit

2013-11-09 Thread Ben Pfaff
goto_table is OpenFlow 1.1+ specific, which isn't enabled by default, so you probably need to specify "-O OpenFlow13" on ovs-ofctl, and enable OpenFlow 1.3 in the switch. On Sat, Nov 09, 2013 at 02:14:53PM -0800, Jayanth Silesh wrote: > Hey Ben, > > I did try and use goto_table instructions but t

Re: [ovs-discuss] Write_metadata and resubmit

2013-11-09 Thread Jayanth Silesh
Hey Ben, I did try and use goto_table instructions but this is what appears in the flow table: NXST_FLOW reply (xid=0x4):  cookie=0x0, duration=1.784s, table=0, n_packets=0, n_bytes=0, idle_age=1, in_port=1 actions=drop I used these commands to test it, sudo ovs-ofctl add-flow s1 "in_port=1 ac

Re: [ovs-discuss] Write_metadata and resubmit

2013-11-09 Thread Ben Pfaff
On Sat, Nov 09, 2013 at 03:33:28AM -0800, Jayanth Silesh wrote: > From what I understand is that when I use write_metadata in ova-ofctl, > it writes some info to the packet and the packets gets sent to the > controller. write_metadata doesn't send a packet to the controller. > Is there a way I ca

[ovs-discuss] Write_metadata and resubmit

2013-11-09 Thread Jayanth Silesh
Hey All, From what I understand is that when I use write_metadata in ova-ofctl, it writes some info to the packet and the packets gets sent to the controller. I am trying to write_metadata to the packet and then resubmit to another table so that the tables matches the “metadata” in order to tak

Re: [ovs-discuss] Openvswitch in Xenserver

2013-11-09 Thread Jesse Gross
On Fri, Nov 8, 2013 at 7:51 AM, Faisal Ali wrote: > Hi, > > > Why is it when a simple bridge is created in Xensever it shows LINK_DOWN and > PORT_DOWN as follows: > > [root@test ~]# ovs-vsctl add-br br99 > [root@test ~]# ovs-ofctl show br99 > OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:669fd5

Re: [ovs-discuss] Does the OpenFlow userspace execute sequentially?

2013-11-09 Thread Jesse Gross
On Fri, Nov 8, 2013 at 6:24 AM, Xiaoye Sun wrote: > I am wondering if there is a race condition between the flow-mod and the > incoming packet. > > When ovs userspace receives a flow-mod message from a remote controller, > does it has higher priority over processing incoming packets (kernel > upca