p4lang / project-ideas

Ideas for P4 Projects.
Apache License 2.0
6 stars 0 forks source link

Add initial entries to P4 tables, in addition to current const entries #2

Open jafingerhut opened 1 month ago

jafingerhut commented 1 month ago

Status as of 2024-Sep-14: Changes have been made in the language spec in 2023, and the p4c compiler implements writing of a new has_intitial_entries property for tables, and a new const Boolean property for entries in the optionally written entries output file.

Still not done yet: Implementation of initial entries in the BMv2 software switch simple_switch_grpc. See this README and the corresponding test P4 programs and Python PTF tests in this directory: