[UBI] Fix bug when returning P4 table entries via GetConfig
Reporters
- Georgios P. Katsikas
Description
file: p4_manager.py line: 599 method: def table_entries_to_json(self, table_name)
Assuming than a P4 table may have several entries, the current implemetation of the function table_entries_to_json only returns one entry.
TFS deployment settings
- context, device, service, pathcomp, nbi, webui
Sequence of actions that resulted in the bug
- Onboard a topology
- Provision the L2 P4 service
- Enable debug mode in logging to observe the GetConfig outcomes
Expected behaviour
- The driver must return a list of entries per table
Acknowledgements
This work is funded by the European Commission through the HORIZON-JU-SNS-2022 FLEX-SCALE project with grant agreement number 101096909.
Edited by Georgios P. Katsikas