Skip to content

P4 resource keys with unique IDs

Reporters

  • Georgios P. Katsikas

Description

Every P4 rule requires a unique resource key so as to appear on the WebUI

Sequence of actions that resulted in the bug

  • 2 rule insertions with the same resource key (e.g., table)

Expected behaviour

  • Every rule should follow a pattern, e.g., /tables/table/<table_name>[]
  • This must be preserved by the person who loads the rules onto TFS as the code is unable to recover from a case when the resource keys are not unique. This may result in overwrites and "missing" rules in the UI (although properly installed in the dataplane)

Acknowledgements

This work is funded by the European Commission through the HORIZON-JU-SNS-2022 ACROSS project with Grant Agreement number 101097122

Edited by Georgios P. Katsikas