google / p4-pdpi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build test

P4 PDPI

P4Runtime generally uses a program-independent representation (or PI) for P4 entities such as table entries, counters, etc. This is achieved by using numeric IDs instead of names. The downside of this is that the representation is hard to read by humans. In contrast, a program-dependent (or PD) representation uses names and is generally more friendly to humans.

This repository provides several PD-like representations, and code to automatically convert between them.

This is a work in progress.

This is not an officially supported Google product.

About

License:Apache License 2.0


Languages

Language:C++ 92.8%Language:Starlark 7.0%Language:Shell 0.2%