Skip to content

Commit

Permalink
Update the PINS programs. (#4799)
Browse files Browse the repository at this point in the history
* Update the PINS programs.

Signed-off-by: fruffy <[email protected]>

* Disable p4runtime translation annotations.

Signed-off-by: fruffy <[email protected]>

* Reference files.

Signed-off-by: fruffy <[email protected]>

---------

Signed-off-by: fruffy <[email protected]>
  • Loading branch information
fruffy authored Jul 16, 2024
1 parent 578e2df commit bc05831
Show file tree
Hide file tree
Showing 22 changed files with 15,277 additions and 7,644 deletions.
10 changes: 10 additions & 0 deletions testdata/p4_16_samples/pins/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# PINS P4 Programs

These P4 programs are P4 models of production switches. They are sourced from [sonic-pins repository](https://github.com/sonic-net/sonic-pins/tree/main/sai_p4/instantiations/google). For more information, please see [SONiC website](https://sonic-net.github.io/SONiC/).


To refresh the DASH programs used here, please use the following commands:

```
git clone https://github.com/sonic-net/sonic-pins/
p4test pins-infra/sai_p4/instantiations/google/fabric.p4 --pp testdata/p4_16_samples/pins/pins_fabric.p4
p4test pins-infra/sai_p4/instantiations/google/middleblock.p4 --pp testdata/p4_16_samples/pins/pins_middleblock.p4
p4test pins-infra/sai_p4/instantiations/google/wbb.p4 --pp testdata/p4_16_samples/pins/pins_wbb.p4
```
Loading

0 comments on commit bc05831

Please sign in to comment.