Toward Highly Reliable Programmable Data Planes: Verification of P4 Code Generation

AuthorCsaba, Györgyi; Laki, Sándor; Schmid, Stefan
TypeConference Paper
AbstractData plane programming gained much attention in the past years, having a fast-growing community both in academia and industry. Many tools have emerged to simplify and/or help the development of reliable data plane programs, including fuzzing, formal verification, and different code generators. However, even the tools themselves must be verified to meet the most stringent dependability requirements. In this paper, we investigate various tools and methods to verify code generators leveraging P4 through the example of P4RROT (an open source code generator focusing on the application layer). We show that our approach is efficient and can indeed successfully find bugs. We identify two bugs and propose reusable ideas, such as the use of ghost code.
ConferenceInternational Conference on Network Softwarization 2023