Build without Image#
This section explains how to build VPP and and the vpp-agent directly without an image.
This option is recommended for development or testing purposes only.
Start with cloning the VPP Agent code:
git clone [email protected]:ligato/vpp-agent.git
VPP should be built first in order to provide required libraries for the host OS.
Clone the VPP code (described above) and checkout the defined commit. Use the
vpp.envas a source. It can be found in the ligato/vpp-agent folder. Building different VPP commit/versions can cause the vpp-agent to fail at startup due to incompatibilities.
Use the following commands to build VPP:
make install-dep make dpdk-install-dev make build-release make pkg-deb
Next, in the
build-root directory, unpack
*.deb package files with
Build the VPP Agent
Go to the vpp-agent root directory, and use
make-build. The binary file is available in
Start VPP and verify the vpp-agent can connect to it.