I'm trying to compile vpp from git sources (git clone https://gerrit.fd.io/r/vpp) + router plugin (also from git, but for vppsb: git clone https://gerrit.fd.io/r/vppsb). Compilation of vpp is working, but I would like to test tap inject from router plugin from vppsb (vpp sandbox). Compilation procedure from router/README.mk in vppsb directory doesn't work:
<quote>
## Build/Install
The router is implemented as a plugin to inject, e.g. arp, icmp4, traffic
from data plane devices. To use it, you must build the plugin and put it
in VPPs runtime plugin directory. The plugin depends on vpp and the netlink
repository from the vppsb project. This README assumes familiarity with the
build environment for both projects.
Build vpp, netlink, and router all at once by creating symbolic links in the
top level vpp directory to the netlink and router directories as well as
symbolic links to the respective .mk files in 'build-data/packages'.
```
$ cd /git/vpp
$ ln -sf /git/vppsb/netlink
$ ln -sf /git/vppsb/router
$ ln -sf ../../netlink/netlink.mk build-data/packages/
$ ln -sf ../../router/router.mk build-data/packages/
```
Now build everything and create a link to the plugin in vpp's plugin path.
```
$ cd build-root
$ ./bootstrap.sh
$ make V=0 PLATFORM=vpp TAG=vpp_debug router-install
$ ln -sf /git/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0 \
/usr/lib/vpp_plugins/router.so
```
Once VPP is running and the plugin is loaded, data plane interfaces can
be tapped.
```
$ vppctl tap inject arp,icmp4 from TenGigabitEthernet2/0/0 as vpp0
```
</quote>
Regards
Luk
Luk, Are you installing the vpp-dev (or vpp-devel if Centos) package? I would imagine you'd need that for headers etc. Ed On Fri, Mar 24, 2017 at 8:14 AM, Łukasz Chrustek <luk...@chrustek.net> wrote:
|
--
Pozdrowienia,
Łukasz Chrustek
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev