Sorry guys. I did not provide absolute path to the router.so link. The router.so is now showing up on vppctl show plugins and I am able to execute vppctl enable tap-inject.
Thanks Burt, Damien and Wang! <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> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, Apr 4, 2018 at 1:02 AM, Burt Silverman <bur...@gmail.com> wrote: > Does > > $ ls -ld /usr/lib/vpp_plugins/router.so > > show it pointing to a good file? Try to make sure you are pointing to the > file that you built, I mean, just double check that everything looks > correct. I think your note mentioned 2 different source areas -- maybe I am > misreading and wrong, maybe it is a typo. > > Good luck. > > Burt > > On Tue, Apr 3, 2018 at 2:16 PM, Hamid via Lists.Fd.Io < > 14mseesrasool=seecs.edu...@lists.fd.io> wrote: > >> 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 >> 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 build-data/packages/ >> ln -sf /home/xflow/router/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> >> <#m_-3821815970941011092_m_8641439262321474351_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> >> On Tue, Apr 3, 2018 at 9:48 PM, Wang <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>: >>> >>>> 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 >>>> bin python >>>> 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-g >>>> f0404e9_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> >>>> <#m_-3821815970941011092_m_8641439262321474351_m_8696160008385872788_m_-6449746801624537005_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>>> >>>> On Mon, Apr 2, 2018 at 6:14 PM, Wang <imflin...@gmail.com> wrote: >>>> >>>>> Here is the patch >>>>> >>>>> 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 < >>>>> 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. >>>>>> >>>>>> >>>>> >>>> >>> >> >> >> >