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 actions=goto_table:2" sudo ovs-ofctl add-flow s1 "in_port=2 actions=output:1" sudo ovs-ofctl add-flow s1 "table=2 in_port=1 actions=output:2” The above commands don’t work because the goto_table instructions inserts the action as “DROP” But if I use the resubmit instruction instead of the goto_table, it works just fine. -- Jayanth Silesh 317-476-2599 Graduate Student, University of Southern California On November 9, 2013 at 10:25:21 AM, Ben Pfaff (b...@nicira.com) wrote: 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 can use write_metadata and resubmit? No. write_metadata is an instruction that is always executed after actions such as resubmit. To use metadata and multiple tables together, you must either use an action (such as reg_load or set_field) to set the metadata before using resubmit, or use write_metadata followed by the goto_table instruction (since the ordering of those is correct for what you want to do).
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss