[P4-dev] Deleting all entries in a match table

Leonid Ryzhyk ryzhyk at gmail.com
Thu Mar 10 01:35:00 EST 2016

I am working with bmv2 via the CLI tool (tools/runtime_CLI.py), invoked
from a python script.  My setting is similar to the SIGCOMM 2015 tutorial
(the python script is derived
from tutorials/SIGCOMM_2015/source_routing/topo.py).

I am wondering if there exists an easy way to delete all match entries in a
table. Alternatively, is there a way to list all match entry handles so
that I could then delete them one by one via table_delete?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20160309/49efb487/attachment-0002.html>

More information about the P4-dev mailing list