Difference between revisions of "VPP/Macswapplugin"

From fd.io
< VPP
Jump to: navigation, search
m (use pre tags)
(add build instructions)
Line 20: Line 20:
 
mkdir /vpp/devboot
 
mkdir /vpp/devboot
 
tar -zxvf macswap-plugin.tar.gz -C /vpp/devboot
 
tar -zxvf macswap-plugin.tar.gz -C /vpp/devboot
 +
</pre>
 +
 +
 +
To build:
 +
 +
<pre>
 +
cd /vpp/devboot/macswap-plugin
 +
autoreconf -i -f
 +
mkdir build
 +
cd build
 +
../configure --with-plugin-toolkit
 +
make
 +
sudo make install
 +
ls /usr/lib/vpp_plugins/
 
</pre>
 
</pre>

Revision as of 18:11, 5 April 2016

Using emacs:

C-x C-f, /vpp/build-root/emacs-list/all-skel.el
M-x eval-buffer
M-x shell; mkdir /vpp/devboot
M-x make-plugin
macswap
C-x s

OR

At the shell prompt:

cd ~
git clone https://github.com/alagalah/macswap-plugin
cd macswap-plugin
mkdir /vpp/devboot
tar -zxvf macswap-plugin.tar.gz -C /vpp/devboot


To build:

cd /vpp/devboot/macswap-plugin
autoreconf -i -f
mkdir build
cd build
../configure --with-plugin-toolkit
make
sudo make install
ls /usr/lib/vpp_plugins/