Commit c9ffb8d
[chassis][voq] port_alias.py: Handle port_config.ini header change (#12719)
In sonic-net/sonic-buildimage#18704 the header of port_config.ini was changed:
- # name lanes alias index role speed asic_port_name coreId corePortId numVoq
+ # name lanes alias index role speed asic_port_name core_id core_port_id num_voq
But port_alias.py depends on the header names and wasn't updated:
ALLOWED_HEADER = ['name', 'lanes', 'alias', 'index', 'asic_port_name', 'role', 'speed',
'coreid', 'coreportid', 'numvoq']
This PR updates port_alias.py to account for the port_config.ini change.
Summary:
Fixes #12718
Type of change1 parent 5190fcc commit c9ffb8d
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments