A P4Runtime client wrapper in Rust, highly inspired by p4runtime-go-client.
This crate is based on the generated code in duskmoon314/p4runtime:rust. Hopefully, it will be merged into the main repository in the future.
See examples/basic for a basic example.
- Basic Read and Write
- Table Operations
- Counter Operations
- Digest Operations
- Action Profile Operations
- Meter Operations
- Register Operations
- Value Set Operations
- Direct Counter Operations
- Direct Meter Operations
- Direct Register Operations
- Helper features
- DigestList Conversion
- PipelineConfig builder
-
build_tofino_config
-
All codes in this repository, unless otherwise noted, are licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MIT license, shall be licensed as above, without any additional terms or conditions.