https://github.com/bluecmd/p4-tools
P4 Tools container for building and using P4 stuff
https://github.com/bluecmd/p4-tools
Last synced: about 1 year ago
JSON representation
P4 Tools container for building and using P4 stuff
- Host: GitHub
- URL: https://github.com/bluecmd/p4-tools
- Owner: bluecmd
- Created: 2021-03-20T12:01:37.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-08T18:28:01.000Z (almost 5 years ago)
- Last Synced: 2025-03-05T23:46:32.718Z (over 1 year ago)
- Language: Python
- Size: 71.3 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# P4 Tools
[](https://quay.io/repository/bluecmd/p4-tools)
## BMv2 Simple Switch
The binary `simple_switch` is the Behavioral Model v2 (BMv2) implementation of a P4 switch.
It is statically compiled and availabe under /opt/p4c/simple_switch
### CLI utility
You might need the `simple_switch_CLI` - it can be installed using
`pip3 install p4-simple-switch-cli`.
## P4C
The P4C compiler cannot right now be compiled with Musl. Instead, use
https://hub.docker.com/r/p4lang/p4c.