https://github.com/praveingk/syndb-p4
SyNDB P4 source
https://github.com/praveingk/syndb-p4
Last synced: 2 months ago
JSON representation
SyNDB P4 source
- Host: GitHub
- URL: https://github.com/praveingk/syndb-p4
- Owner: praveingk
- Created: 2023-04-11T11:57:45.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-05T19:50:02.000Z (6 months ago)
- Last Synced: 2025-02-09T15:43:56.691Z (4 months ago)
- Language: P4
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SyNDB (Synchronized Network Debugger)
This source code enables obtaining synchronized network snaphot of recent history in the network.
Paper Link :point_right: https://www.usenix.org/system/files/nsdi21-kannan.pdf
## Source Code Pointers
### Switch Code
The switch data-plane code is written in [P4](https://github.com/p4lang) 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.### Steps to run p4_14 based SyNDB in Tofino:
1) Navigate to the SDE PATH :
```shell
cd ~/bf-sde-8.x.x
export SYNDB_PATH=
```
2) Set the env variables :
```shell
. ./set_sde.bash
```
3) Build the p4 program using the command :
```shell
./p4_build.sh $SYNDB_PATH/syndb.p4
```
4) Load the p4 program, and run the control plane API code using :
```shell
cd $SYNDB_PATH/v_14/CP
./run.sh
```