
Intel Logan Beach NICs have additional fields in the cgu output, resulting in failures when converting it into a dict. Updated the logic for cgu_output_to_dict() to find the start and end of the "input" table. Once the start and end lines of the table are identified, then the other required fields can be located based on the known offset from the table. This also allows any future lines added to the table to handled without requiring additional code changes. Updated the unit tests to cover both the Logan Beach and Westport Channel cgu output formats. Test plan: PASS: Unit tests passing PASS: Build notificationservice-base image and test on both NIC types. Story: 2010270 Task: 46870 Signed-off-by: Cole Walker <cole.walker@windriver.com> Change-Id: Ib6716f38ea3c64a68e7162bb5d4f2154fa399a8c
Description
StarlingX PTP Notification App
Languages
Python
97.2%
Makefile
1.1%
Dockerfile
0.5%
Shell
0.4%
Smarty
0.3%
Other
0.4%