Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duskmoon314/p4runtime-client-rs
A P4Runtime client wrapper in Rust
https://github.com/duskmoon314/p4runtime-client-rs
Last synced: 4 days ago
JSON representation
A P4Runtime client wrapper in Rust
- Host: GitHub
- URL: https://github.com/duskmoon314/p4runtime-client-rs
- Owner: duskmoon314
- License: mit
- Created: 2024-05-16T12:03:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T03:28:24.000Z (12 days ago)
- Last Synced: 2024-12-11T04:25:09.971Z (12 days ago)
- Language: Rust
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# p4runtime-client-rs
A P4Runtime client wrapper in Rust, highly inspired by [p4runtime-go-client](https://github.com/antoninbas/p4runtime-go-client).
This crate is based on the generated code in [duskmoon314/p4runtime:rust](https://github.com/duskmoon314/p4runtime/tree/rust).
Hopefully, it will be merged into the main repository in the future.## Usage
See [examples/basic](examples/basic/README.md) for a basic example.
## Features
- [x] Basic Read and Write
- [x] Table Operations
- [x] Counter Operations
- [x] 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
- [x] `build_tofino_config`## License
All codes in this repository, unless otherwise noted, are licensed under the MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
### Contribution
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.