Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[portconfig] Fallback to port_config.ini if hwsku.json is not availab…
…le (sonic-net#5434) **- Why I did it** As discussed, This PR covers the below points. 1. Give precedence to platform.json only if both platform.json and hwsku.json file exist. In case only platform.json exists, we don’t allow breakout for that HWSKU and fallback to port_config.ini. **- How I did it** check for `hwsku.json` file presence under get_path_to_port_config_file function. Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
- Loading branch information