Hi,
I am using the following version of OVS (2.5.1) with datapath in kernel
mode.
root@localhost:~# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.5.1
When I try to add a flow in the data path I get error.
root@localhost:~# ovs-appctl dpctl/add-flow ovs-system "in_port(2)" 3
ovs-vswitchd: updating flow table (Invalid argument)
ovs-appctl: ovs-vswitchd: server returned an error
root@localhost:~# ovs-dpctl add-flow ovs-system "in_port(2)" 3
2017-09-18T13:51:51Z|1|dpif|WARN|system@ovs-system: failed to
put[create] (Invalid argument) in_port(2), actions:3
ovs-dpctl: updating flow table (Invalid argument)
The corresponding error logged in dmesg is
[420714.893276] openvswitch: netlink: Missing key (keys=8, expected=10)
root@localhost:~# ovs-dpctl show
system@ovs-system:
lookups: hit:15 missed:9 lost:0
flows: 0
masks: hit:32 total:1 hit/pkt:1.33
port 0: ovs-system (internal)
port 1: ovs-sys-br (internal)
port 2: veth01
port 3: veth11
Can you please let me know if I am using correct command to add flows in
datapath.
Thanks,
Prasannaa.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev