Hi Hamid I follow the same sample and its working (at least inside the VM). Are you running the ln -sf /home/xflow/vppsb/netlink inside the vagrant VM ?
Demian > El 3 abr. 2018, a las 15:16, Hamid via Lists.Fd.Io > <14mseesrasool=seecs.edu...@lists.fd.io> escribió: > > I am following the FRR tutorial > <https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes%3A-VPP> to > set up vppsb. Please let me know if there is better documentation available. > > I had already built and ran stable/1801 branch vpp code on my machine but due > to conflicts with vppsb I had to check out master for vpp and vppsb repos. > > Here the steps, > > In the home directory, git clone https://gerrit.fd.io/r/vppsb > <https://gerrit.fd.io/r/vppsb> > cd vppsb > git checkout master > > Then, in vpp directory, > ln -sf /home/xflow/vppsb/netlink > ln -sf /home/xflow/vppsb/router > ln -sf /home/xflow/netlink/netlink.mk <http://netlink.mk/> > build-data/packages/ > ln -sf /home/xflow/router/router.mk <http://router.mk/> build-data/packages/ > > cd build-root > sudo make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install > router-install > sudo dpkg -i *.deb > sudo ln -sf > /root/xflow/install1/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0 > /usr/lib/vpp_plugins/router.so > > And then, I restart vpp service and check tap-inject which does not work. > > The contents of the build-root directory is given earlier in the thread. > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> > Virus-free. www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> > <x-msg://43/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Tue, Apr 3, 2018 at 9:48 PM, Wang <imflin...@gmail.com > <mailto:imflin...@gmail.com>> wrote: > Would you share the command lines you used to install router plugin? It seems > to me the router plugin is not loaded? > > 2018-04-02 13:05 GMT-04:00 Hamid Rasool <14mseesras...@seecs.edu.pk > <mailto:14mseesras...@seecs.edu.pk>>: > Hi Wang, > > My copy of the code contains the patch. I have checked the source and it is > according to the diff in your commit > <https://gerrit.fd.io/r/gitweb?p=vppsb.git;a=blobdiff;f=netlink/librtnl/mapper.c;h=05b7f1df43c2dae6ad193b8cb6abb6f70ae1673d;hp=65cc13a976e459f4e84d23fb8e1f8d11b9e0b543;hb=ce5ab87645e7472b99e23686047e4141a7a315b0;hpb=042a782c530ceb58507d697726e68ad7fe4fe023>. > The make netlink-install and router-install now build without errors (using > vpp 18.04-rc0 ; vpp stable/18.01 had the above issue). > > The problem I am facing that after netlink and router are built, I am unable > to perform 'sudo vppctl enable tap-inject' command. Does the build command > supposed to have .deb packages for vppsb. This is my build-root directory: > xflow@vpphamid1:~/install1/vpp/build-root$ ls > autowank platforms.mk <http://platforms.mk/> > bin python > build-config.mk <http://build-config.mk/> sbin > build-config.mk.README scripts > build-tool-native tools > build-vpp_debug-native vagrant > build-vpp-native vpp_18.04-rc0~503-gf0404e9_amd64.changes > config.site vpp_18.04-rc0~503-gf0404e9_amd64.deb > copyimg vpp-api-java_18.04-rc0~503-gf0404e9_amd64.deb > deb vpp-api-lua_18.04-rc0~503-gf0404e9_amd64.deb > install-vpp_debug-native vpp-api-python_18.04-rc0~503-gf0404e9_amd64.deb > install-vpp-native vpp-dbg_18.04-rc0~503-gf0404e9_amd64.deb > lib64 vpp-dev_18.04-rc0~503-gf0404e9_amd64.deb > Makefile vpp-lib_18.04-rc0~503-gf0404e9_amd64.deb > path_setup vpp-plugins_18.04-rc0~503-gf0404e9_amd64.deb > > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> > Virus-free. www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> > > <x-msg://43/#m_8696160008385872788_m_-6449746801624537005_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Mon, Apr 2, 2018 at 6:14 PM, Wang <imflin...@gmail.com > <mailto:imflin...@gmail.com>> wrote: > Here is the patch > > https://gerrit.fd.io/r/#/c/11167/ <https://gerrit.fd.io/r/#/c/11167/> > > it should be merged into vppsb. > > Chad > > 2018-04-01 12:39 GMT-04:00 Hamid via Lists.Fd.Io <http://lists.fd.io/> > <14mseesrasool=seecs.edu...@lists.fd.io > <mailto:14mseesrasool=seecs.edu...@lists.fd.io>>: > Not working with the latest code. > > I have retried with 'git checkout origin/master' after make wipe-all and make > vpp-wipe commands but I am still getting the same error with librtnl files. > > > > > > > > > -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500