sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

[Mellanox] Implementation for component version listing

Open skr31 opened this issue 1 year ago • 12 comments
trafficstars

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)

skr31 avatar Apr 07 '24 08:04 skr31

CLA Signed

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

skr31 avatar Apr 07 '24 11:04 skr31

/AzurePipelines run EasyCLA

mssonicbld avatar Apr 07 '24 11:04 mssonicbld

No pipelines are associated with this pull request.

azure-pipelines[bot] avatar Apr 07 '24 11:04 azure-pipelines[bot]

/azpw run All

skr31 avatar Apr 07 '24 11:04 skr31

/AzurePipelines run All

mssonicbld avatar Apr 07 '24 11:04 mssonicbld

No pipelines are associated with this pull request.

azure-pipelines[bot] avatar Apr 07 '24 11:04 azure-pipelines[bot]

/azpw run

skr31 avatar Apr 07 '24 13:04 skr31

/AzurePipelines run

mssonicbld avatar Apr 07 '24 13:04 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 07 '24 13:04 azure-pipelines[bot]

This PR should be merged before https://github.com/sonic-net/sonic-utilities/pull/3264.

skr31 avatar Apr 08 '24 17:04 skr31

@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

prsunny avatar Apr 10 '24 20:04 prsunny