Skip to content

P4TC is missing a push-button packet-test runner #4944

@fruffy

Description

@fruffy

The BMv2 and eBPF test back ends have push-button test scripts such as run-bmv2-test.py or run-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

Metadata

Metadata

Assignees

Labels

p4tcTopics related to the P4-TC back end. On PRs, also triggers p4tc CI tests to run.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions