[ovs-discuss] some question about ovs-ofctl
blp at ovn.org
Fri Mar 16 20:07:13 UTC 2018
On Fri, Mar 16, 2018 at 05:14:28PM +0800, 车东洋。 wrote:
> hi，bro.when i use 'ovs-ofctl' to add a few of flows into my ovs flow table from a file.A question has happened:
> 1.i use th vi to create a file ovs-flows-add,just like this:
> add "in_port=1,actions=output:2"
> add "in_port=3,actions=output:4"
> 2.i use the command 'ovs-ofctl add-flow br0 -</usr/local/bin/ovs-flows-add',and i get a error:"ovs-ofctl: -1:unknown keyword add"
> 3.i want to know how to add few flows into table by a file
The file shouldn't contain the double quotes.
More information about the discuss