Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yi-tseng/p4-runtime-test-tool
Test tool for P4 runtime
https://github.com/yi-tseng/p4-runtime-test-tool
Last synced: 19 days ago
JSON representation
Test tool for P4 runtime
- Host: GitHub
- URL: https://github.com/yi-tseng/p4-runtime-test-tool
- Owner: Yi-Tseng
- Created: 2017-11-20T01:28:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T16:31:02.000Z (over 6 years ago)
- Last Synced: 2024-10-15T09:50:47.549Z (2 months ago)
- Language: Python
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
P4 Runtime test tool
====To use it, run:
```
$ ./main.py
```Parameters:
```
usage: main.py [-h] [--p4info P4INFO] [--bmv2-json BMV2_JSON]
[--test-json TEST_JSON]P4Runtime Test Tool
optional arguments:
-h, --help show this help message and exit
--p4info P4INFO p4info proto in text format from p4c
--bmv2-json BMV2_JSON
BMv2 JSON file from p4c
--test-json TEST_JSON
Test flow entries
```Test cases:
- Fabric.p4
- L2 unicast flows for single switch with two untagged hosts