This repository is an experimental environment for the paper entitled "An NDN cache optimization strategy based on dynamic popularity and replacement value" and is available to the reader to re-implement the caching strategy mentioned in this article. Please get in touch if you have any questions.
- cfg holds the configuration file
- compiler holds the back-end compiler files
- examples holds some examples and flow tables written in p4 source code
- makefiles holds the mk files
- ppk holds the project source code
- build generates the c source code compiled by the p4 compiler
- DPDK19.11
- P4C
- gRPC
- protobuf 3.0
- PI
- python3
- GCC/Clang
- LLD/gold/bfd
To install the project, execute the bootstrap.sh script, which automatically installs the relevant environments (DPDK, P4C, P4Runtime, etc.) as well as downloading the project source code itself and configuring the environment variables bootstrap.cfg configures the version information of the relevant environment After installation, the relevant environment variables are stored in ppk_en.sh
shell
. ./ppk_en.shshell
./ppk.sh :example- dbg mode
shell
./ppk.sh ::example ๆ่ ./ppk.sh :example dbg - Step-by-step mode
shell
./ppk.sh :example p4shell
./ppk.sh :example cshell
./ppk.sh :example run