This repo contains PTF-based tests for fabric.p4.
fabric.p4 is a P4 program used by ONOS to provide connectivity to a leaf-spine fabric topology of P4Runtime-enabled switches:
https://wiki.onosproject.org/x/wgBkAQ
PTF is a framework for data plane testing:
https://github.com/p4lang/PTF
Instructions to run the PTF-based tests are available inside the tests/ptf
directory.
For any issue encountered when running the tests, please write to the P4 Brigade mailing list:
https://groups.google.com/a/onosproject.org/forum/#!forum/brigade-p4