Build without Image#
This section explains how to build VPP and the VPP agent without an image.
Use this option for development or testing purposes only.
Start by cloning the VPP Agent code:
git clone email@example.com:ligato/vpp-agent.git
You should first build VPP in order to provide the required libraries for the host OS.
Clone the VPP code as described above, and then checkout the defined commit. Use the
vpp.envcontained in the ligato/vpp-agent folder as a source. Building different VPP commit/versions may 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
vpp-agent/cmd/vpp-agentfolder contains the binary file.
Start VPP and verify the VPP agent can connect to it.