[ovs-discuss] ovs-dpctl problem

焦利涛 309569929 at qq.com
Fri Nov 10 11:44:23 UTC 2017


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 at jlt:~# ovs-dpctl add-flow system at 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)

ovs configure is that:
  root at jlt:~# ovs-dpctl show
system at myDP:
        lookups: hit:0 missed:0 lost:0
        flows: 0
        masks: hit:0 total:0 hit/pkt:0.00
        port 0: myDP (internal)
        port 1: ens33.2
        port 2: ens33.3
system at br:
        lookups: hit:0 missed:0 lost:0
        flows: 0
        masks: hit:0 total:0 hit/pkt:0.00
        port 0: br (internal)

root at jlt:~# ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.3.0
Compiled Oct 23 2017 21:46:42
OpenFlow versions 0x1:0x1

root at jlt:~# lsmod | grep open
openvswitch            98304  4
nf_defrag_ipv6         36864  1 openvswitch
nf_conntrack          106496  6 openvswitch,nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
libcrc32c              16384  3 xfs,raid456,openvswitch
root at jlt:~# 

        I am looking forward to your reply early.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20171110/eb3c5c23/attachment-0001.html>


More information about the discuss mailing list