[ovs-discuss] Linear topology in openveswitch

Sudipto Biswas sbiswas7 at linux.vnet.ibm.com
Wed Mar 11 13:39:59 UTC 2015


On Wednesday 11 March 2015 05:46 PM, Vijaya Mohan Guvva wrote:
> On 03/11/2015 05:38 PM, AMER wrote:
>> ovs-ofctl add-flows br0 table=1, priority=99, dl_type=0x800, 
>> nw_src=192.168.5.2, actions=mod_nw_src=10.10.10.10, resubmit(,2)
>
> resubmit\(,2\) should work.
>
Or you can also include the whole thing inside a string:

  ovs-ofctl add-flows br0 "table=1, priority=99, dl_type=0x800, 
nw_src=192.168.5.2, actions=mod_nw_src=10.10.10.10, resubmit(,2)"

You could also create a flow.txt file with your flow details and then 
add that as a part of the ofctl command like:

   ovs-ofctl add-flows br0 flows.txt.

Hope this helps!

Cheers,
Sudipto




More information about the discuss mailing list