I used ovs-ofctl command add flows to ovsbridge which datapath_typ is netdev:
ovs-ofctl add-flow ovsBusiness "cookie=0x0, table=0, send_flow_rem
priority=3566,ip,in_port=1 actions=output:8"
ovs-ofctl add-flow ovsBusiness "cookie=0x0, table=0, send_flow_rem
priority=3566,ip,in_port=8 actions=output:1"
but it doesn't work.
The network topo like this:
|---------| tap0 | -------| dpdk0 |--------|
| VM1 |-----------> | OVS | ----------->| VM2 |
|---------| | ------ | |-------- |
I can't ping the VM1 to VM2. Then I delete all the flows, and add a Normal
action, VM1 could ping to VM2.
Do you know why ? Can you give some suggestions or advice for my flows?
Thanks very much.
At 2016-12-03 02:51:19, "Ben Pfaff" <[email protected]> wrote:
>On Sat, Dec 03, 2016 at 02:41:28AM +0800, ry0117 wrote:
>> Thanks for your reply~
>> I'm very sorry. I've used ovs-ofctl command to add flow, just like:
>> ovs-ofctl add-flow ovsBusiness "cookie=0x0, table=0, send_flow_rem
>> priority=3566,ip,in_port=1 actions=output:8"
>> But now I want to add a flow: all packets receive from port 1 output from
>> port 8 in netdev datapath. What should I do to add this flow?
>
>ovs-ofctl also works with the netdev datapath. You don't need a
>different command.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev