This source code enables obtaining synchronized network snaphot of recent history in the network.
Paper Link ๐ https://www.usenix.org/system/files/nsdi21-kannan.pdf
The switch data-plane code is written in P4 programming language. Once this code is up and running, the virtual switches are synchronized to a global time, and start recording packets. They generate precords to the collector when the configured trigger condition is hit.
- Navigate to the SDE PATH :
cd ~/bf-sde-8.x.x
export SYNDB_PATH=<PATH TO SYNDB FOLDER>
- Set the env variables :
. ./set_sde.bash
- Build the p4 program using the command :
./p4_build.sh $SYNDB_PATH/syndb.p4
- Load the p4 program, and run the control plane API code using :
cd $SYNDB_PATH/v_14/CP
./run.sh