omec-project/upf

Clear many P4 tables at once

Closed this issue · 0 comments

The clearAllTables() function in the UP4 plugin uses ClearTable() function from the P4 Client to clean all the UP4 tables at startup. However, it currently requires a separate call to ClearTable() for each P4 table, making the function unnecessary long and less readable.

This task is about implementing the ClearTables() function in the P4 Client, that takes the list of P4 table names and clears all the tables.