Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an API to get TableInfo from ConstraintInfo through a lookup usin…
…g table_id Code in P4 fuzzer uses ConstraintInfo to lookup TableInfo. Since p4fuzzer presubmit checks that any new code added to p4infra Github builds, we need to first sync this change to p4infra Github. This CL will enable these changes: https://critique.corp.google.com/cl/574299826. This is part of the work to support actions in P4-constraints by allowing users to add constraint annotations for actions. Please see the design doc at https://docs.google.com/document/d/11Nkn3_BAa43OX4I-_DPsoUokebGdRYx6QAk7eGVAyLc/edit?resourcekey=0-gO31LvkRyylb07KB1m3RMg for more information. PUBLIC: [p4-fuzzer] Add ConstraintInfo API for retrieving TableInfo given table_id. PiperOrigin-RevId: 574581354
- Loading branch information