Hi all:
how does the match with flow table work?
such as:
#ovs-dpctl dump-flows
# in_port(2),eth_type(0/0x0000), packets:0, bytes:0, used:never, actions:3
if there is a package from port 2, but it doesn't go to port 3.
why does it not work?
------------------ ???????? ------------------
??????: "Aaron Conole";<acon...@redhat.com>;
????????: 2017??11??14??(??????) ????0:48
??????: "Ben Pfaff"<b...@ovn.org>;
????: "??????"<309569...@qq.com>; "bugs"<b...@openvswitch.org>;
????: Re: [ovs-discuss] ovs-dpctl problem
Ben Pfaff <b...@ovn.org> writes:
> On Mon, Nov 13, 2017 at 11:21:38AM -0500, Aaron Conole wrote:
>> "??????" <309569...@qq.com> writes:
>>
>> > Hi ??
>> > I have a problem that when i use the ovs-dpctl to add a flow into
>> > datapath, it occurs "ovs-dpctl:
>> > parsing flow key (Invalid argument)"
>> >
>> > example:
>> > root@jlt:~# ovs-dpctl add-flow system@myDP
>> > "in_port(1),eth_type(0x800),ipv4
>> > (src=172.31.110.4,dst=172.31.110.5)" 2
>> > ovs-dpctl: parsing flow key (Invalid argument)
>>
>> You may be able to use 'dmesg' to see which key is missing.
>
> I believe that this particular error comes from the userspace parser,
> not the kernel.
Seems you're correct.
Even more, using the supplied command:
11:45:39 aconole {master} ~/git/ovs/lib$ sudo ovs-dpctl add-flow myDP
"in_port(1),eth_type(0x800),ipv4(src=172.31.110.4,dst=172.31.110.5)" 2
11:45:57 aconole {master} ~/git/ovs/lib$ sudo ovs-dpctl dump-flows
in_port(1),eth_type(0x0800),ipv4(src=172.31.110.4,dst=172.31.110.5),
packets:0, bytes:0, used:never, actions:2
Maybe there's an issue with whatever OvS version is being used (although
I don't know of any such issues).
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss