Architecture
The P4Docker is a tool for designing network testbeds with a straightforward frontend-backend architecture. The frontend, developed in JavaScript, offers a user-friendly interface for creating network topologies, utilizing Cytoscape (https://cytoscape.org/) for graphical representations. The backend generates scripts for deploying and managing these topologies and interfaces with the P4 Compiler in a Docker container to compile and store files. Additionally, a "Shared" volume, established during P4D installation, links all containers, facilitating file access across the environment.
Even though the P4Docker generates the scripts to deploy the topologies, it does not execute the code. Therefore, it can be executed on the same machine after generating the code, so access to the Shared volume and the compiled P4 code is possible.

Last updated