Sidecar lite is a port of the switch P4 code that interconnects the Oxide platform. This port primarily for running the code in various SoftNpu-based environments.
This repository contains
- The sidecar lite p4 code.
- A softnpu Rust build of sidecar lite
- A softnpu control plane program for sidecar lite
scadm
.
To build the sidecar-lite shared library artifact simply run cargo build
. If
you are actively working on the p4 code a much better compiler experience is
using the x4c
CLI compiler, which you can build from the Oxide
p4 repo.
A good example of using this end-to-end is in this demo.