Hi, Dave has explained how to include a plugin in this mail, hope it helps.
Thanks, Pragash Vijayaragavan Grad Student at Rochester Institute of Technology email : [email protected] ph : 585 764 4662 <(585)%20764-4662> ---------- Forwarded message ---------- From: Dave Barach (dbarach) <[email protected]> Date: Mon, Mar 6, 2017 at 7:49 AM Subject: RE: configure .ac file missing when creating plugin To: "[email protected]" <[email protected]> Cc: Arjun Dhuliya <[email protected]>, Shailesh Vajpayee <[email protected]>, "Neale Ranns (nranns)" <[email protected]>, "Damjan Marion (damarion)" < [email protected]>, "John Marshall (jwm)" <[email protected]>, Minseok Kwon < [email protected]> The plugin “myplug.so” must be installed e.g. in /usr/lib/vpp_plugins, or you’ll need to set the plugin path via the command line. If you enable your plugin in src/configure.ac and e.g. “make PLATFORM=vpp TAG=vpp_debug install-deb”, the vpp-plugin Debian package [or equivalent RPM] will be happy to install the goods for you. Thanks… Dave *From:* Pragash Vijayaragavan [mailto:[email protected]] *Sent:* Sunday, March 5, 2017 9:43 PM *To:* Dave Barach (dbarach) <[email protected]> *Cc:* Arjun Dhuliya <[email protected]>; Shailesh Vajpayee <[email protected]>; Neale Ranns (nranns) <[email protected]>; Damjan Marion (damarion) < [email protected]>; John Marshall (jwm) <[email protected]>; Minseok Kwon < [email protected]> *Subject:* Re: configure .ac file missing when creating plugin Hi Dave, Thanks for your mail. I did the steps which you mentioned but still i am not able to see my plugin running in the "vppctl sh run" After the above steps, i did a autoreconf -i -f ../configure sudo restart vpp Am i missing anything here, should i do a make to build vpp again with the plugin Thanks, Pragash Vijayaragavan Grad Student at Rochester Institute of Technology email : [email protected] ph : 585 764 4662 <(585)%20764-4662> On Thu, Mar 2, 2017 at 12:46 PM, Dave Barach (dbarach) <[email protected]> wrote: It’s “missing” because it’s not needed... Add a line to .../src/configure.ac of the form: PLUGIN_ENABLED(your-plugin Add this to .../src/plugins/Makefile.am: if ENABLE_YOUR_PLUGIN include your_plugin.am endif The makefile.am fragment in “your_plugin.am” should have been generated by the emacs lisp code. HTH… Dave *From:* Pragash Vijayaragavan [mailto:[email protected]] *Sent:* Thursday, March 2, 2017 12:38 PM *To:* Dave Barach (dbarach) <[email protected]>; Arjun Dhuliya < [email protected]>; Shailesh Vajpayee <[email protected]>; Neale Ranns (nranns) <[email protected]>; Damjan Marion (damarion) <[email protected]> *Cc:* John Marshall (jwm) <[email protected]>; Minseok Kwon <[email protected]> *Subject:* configure .ac file missing when creating plugin Hi, we tried to create a plugin using the emacs and all skeleton file but when loading and creating the libraries the configure.ac file was missing and so we could not proceed further. What we are trying to do is to create a plugin and put our cuckoo filter code in the plugin so that the ip6_fib will make calls to the functions in the plugin and do the appropriate operations. Should we create a plugin to add our functions or can we add those in the ip6 files itself. Is this the right way to do this or is there any other way. Thanks, Pragash Vijayaragavan Grad Student at Rochester Institute of Technology email : [email protected] ph : 585 764 4662 <(585)%20764-4662> Thanks, Pragash Vijayaragavan Grad Student at Rochester Institute of Technology email : [email protected] ph : 585 764 4662 On Fri, Mar 24, 2017 at 11:14 AM, Łukasz Chrustek <[email protected]> wrote: > Hi Dave, > > but this plugin isn't part of core vpp code tree, it is from vppsb. > > Regards > Luk > > Dear Luk, > > > The "vpp-install," "install-packags," "install-deb" etc. targets > > will build the set of plugins configured in src/configure.ac: > > > For example: > > > $ cd build-root > > $ make PLATFORM=vpp TAG=vpp vpp-install > > > HTH. Dave > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Lukasz Chrustek > > Sent: Friday, March 24, 2017 4:55 AM > > To: [email protected] > > Subject: [vpp-dev] Building router plugin > > > Hi, > > > Can You advice what is the proper way for building router plugin now ? > > > I'm trying to build this plugin as stated in README, but I get: > > > # ./bootstrap.sh > > > Saving PATH settings in /git/vpp/build-root/path_setup > > Source this file later, as needed > > Compile native tools > > @@@@ Arch for platform 'native' is native @@@@ > > @@@@ Finding source for tools @@@@ > > @@@@ Makefile fragment found in > > /git/vpp/build-root/packages/tools.mk @@@@ > > @@@@ Source found in /git/vpp/src @@@@ > > @@@@ Configuring tools: nothing to do @@@@ > > @@@@ Building tools: nothing to do @@@@ > > @@@@ Installing tools: nothing to do @@@@ > > > # make V=0 PLATFORM=vpp TAG=vpp_debug router-install > > @@@@ Arch for platform 'vpp' is native @@@@ > > @@@@ Finding source for vppinfra @@@@ > > @@@@ Package vppinfra not found with path /git/vpp @@@@ > > Makefile:780: recipe for target 'vppinfra-find-source' failed > > make: *** [vppinfra-find-source] Error 1 > > > compilation of vpp is working fine, but not from /git/vpp/build-root > > but from /git/vpp. > > > Regards > > Luk > > > _______________________________________________ > > vpp-dev mailing list > > [email protected] > > https://lists.fd.io/mailman/listinfo/vpp-dev > > > > -- > Pozdrawiam, > Łukasz Chrustek > > _______________________________________________ > vpp-dev mailing list > [email protected] > https://lists.fd.io/mailman/listinfo/vpp-dev >
_______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
