Open ljhuangRax opened 4 years ago
hello, First, followed https://github.com/intel/userspace-cni-network-plugin#building-vpp-cni-library-with-ovs , I build vpp cni library with ovs successfully
./usr/include/vpp-api/client/vppapiclient.h 21024 blocks ./usr/lib64/libvppapiclient.so.0.0.0 537169 blocks ./usr/share/vpp/api/interface.api.json ./usr/share/vpp/api/l2.api.json ./usr/share/vpp/api/memif.api.json ./usr/share/vpp/api/vhost_user.api.json ./usr/share/vpp/api/vpe.api.json 537169 blocks Installed /usr/include/vpp-api/client/vppapiclient.h Installed /usr/lib64/libvppapiclient.so Installed /usr/share/vpp/api/interface.api.json /usr/share/vpp/api/l2.api.json /usr/share/vpp/api/memif.api.json /usr/share/vpp/api/vhost_user.api.json /usr/share/vpp/api/vpe.api.json OVS Python Script not installed. Installing now.
Second, when building userspace cni, an error occured
github.com/intel/userspace-cni-network-plugin/vendor/github.com/lunixbochs/struc github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/core/bin_api/l2 github.com/intel/userspace-cni-network-plugin/cnivpp/api/bridge # github.com/intel/userspace-cni-network-plugin/cnivpp/api/bridge ../cnivpp/api/bridge/bridge.go:121:3: unknown field 'PortType' in struct literal of type l2.SwInterfaceSetL2Bridge ../cnivpp/api/bridge/bridge.go:147:3: unknown field 'PortType' in struct literal of type l2.SwInterfaceSetL2Bridge github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/adapter github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/codec github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/examples/binapi/memclnt github.com/intel/userspace-cni-network-plugin/vendor/github.com/fsnotify/fsnotify github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/adapter/socketclient github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/core github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git github.com/intel/userspace-cni-network-plugin/cnivpp/api/infra github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/core/bin_api/interfaces github.com/intel/userspace-cni-network-plugin/cnivpp/api/interface github.com/intel/userspace-cni-network-plugin/vendor/git.fd.io/govpp.git/core/bin_api/memif github.com/intel/userspace-cni-network-plugin/cnivpp/api/memif make: *** [build] Error 2
kernel info:
uname -a Linux ljhuang 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Thanks
I have modified userspace cni to build in a container now. userspace cni was broken for a good while.
hello, First, followed https://github.com/intel/userspace-cni-network-plugin#building-vpp-cni-library-with-ovs , I build vpp cni library with ovs successfully
Second, when building userspace cni, an error occured
kernel info:
Thanks