sonic-buildimage
sonic-buildimage copied to clipboard
[Mellanox] Implementation for component version listing
Why I did it
Added ability to show summary of all the component versions on the switch and a comparison between compiled versions and actual versions. The user will be able to run the 'get_component_versions.py' script which outputs the versions table. The versions table will also be saved in techsupport.
This PR should be merged before https://github.com/sonic-net/sonic-utilities/pull/3264.
Work item tracking
- Microsoft ADO (number only):
How I did it
- Added Make files that add a new file to the system that contains all the versions of the components available at compilation (the versions are taken from corresponding .mk files).
- Added a script that outputs a table that summarizes all the component versions (compilation and actual)
How to verify it
Which release branch to backport (provide reason below if selected)
- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305
Tested branch (Please provide the tested image version)
- [ ]
- [ ]
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: skr31 / name: sophiek (edffb87ff34d0e09e63d9710bb4a003c357cb2f1, 0db406cfbd765e21dc5bee5022fb705c636de292, cf769ca61ee2b891db82cf4a7790e122115e8a93, 4137c237cacbe2e24ea8d280576ae950e1281e3a, be2bb175964f4809b0c23cb0b94dd7de8b035ce0, 29238f79e49e93da8eb2a9931bc82c106c75efa3, d35ef80c7e23715d13331a70c6f4788b78992539)
/azpw run EasyCLA
/AzurePipelines run EasyCLA
No pipelines are associated with this pull request.
/azpw run All
/AzurePipelines run All
No pipelines are associated with this pull request.
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
This PR should be merged before https://github.com/sonic-net/sonic-utilities/pull/3264.
@qiluo-msft , @maipbui , can you check the semgrep issue in this PR? Not sure if related to https://github.com/sonic-net/sonic-buildimage/pull/18577