Ben Pfaff <[email protected]> writes:
> On Mon, Nov 13, 2017 at 11:21:38AM -0500, Aaron Conole wrote:
>> "焦利涛" <[email protected]> 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
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss