P4TC is missing a push-button packet-test runner #4944
Labels
enhancement
This topic discusses an improvement to existing compiler code.
p4tc
Topics related to the P4-TC back end
The BMv2 and eBPF test back ends have push-button test scripts such as
run-bmv2-test.py
orrun-ebpf-test.py
. These scripts allow sending a packet with a corresponding control-plane configuration and checking whether the resulting packet is as expected.These push-button scripts can then be used by tools such as P4Testgen for automated compiler and target test. These scripts are also useful in showing how a particular target can be instrumented and used.
P4TC is missing such a script and workflow, which makes it harder to use or study. It would be great to add such a runner and extend run-tc-test.
@jhsmt
The text was updated successfully, but these errors were encountered: