Commit 99b8794
authored
[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 e9ea3c7 commit 99b8794
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments