[P4-announce] Auto-Generation of APIs from P4 programs!
p4 at p4.org
Mon Apr 13 13:01:34 EDT 2015
The P4 Language Consortium welcomes the following open source
contribution showcasing auto-generation of Open Compute Project's (OCP)
Switch Abstraction Interface (SAI) APIs.
The contributed code includes:
1. A p4 program that defines tables and a logical pipeline that can be
used to generate the SAI APIs
2. The auto-generated C header file containing the auto-generated SAI APIs.
The p4 program can be used to generate a soft-switch which can be used
for building sample applications on top of SAI APIs and also test
applications for conformance to SAI. We hope this code will help the SAI
effort at OCP in it's test and conformance framework development.
The code is available here
SAI.p4 program is here
and the header file containing the auto-generated APIs is here
Please join thep4-dev <http://p4.org/pipermail/p4-dev_p4.org/>email list
to discuss this code release.Subscribe
Want to become a member of P4 Language Consortium? Send an email to
membership [at] p4 [dot] org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-announce