sonic-buildimage
sonic-buildimage copied to clipboard
[Mellanox] Fix 2700a1 sensors.conf and update psu_sensors.json accordingly
Why I did it
previously 2700a1 sensors.conf is missing bus section for psu, so add it and update the psu_sensors.json with the info.
fix psu_sensors_conf_updater to treat PSR psu as same as PSF one.
Work item tracking
- Microsoft ADO (number only):
How I did it
How to verify it
use sensors command and verify the output
Which release branch to backport (provide reason below if selected)
- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [x] 202305
- [x] 202311
- [x] 202405
Tested branch (Please provide the tested image version)
- [x] 202405
- [ ]
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)
/azpw run Azure.sonic-buildimage
/AzurePipelines run Azure.sonic-buildimage
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run Azure.sonic-buildimage
/AzurePipelines run Azure.sonic-buildimage
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run Azure.sonic-buildimage
/AzurePipelines run Azure.sonic-buildimage
Azure Pipelines successfully started running 1 pipeline(s).
@yuazhe please create a PR against 202311 and correlate it to this one for tracking
@yuazhe please create a PR against 202311 and correlate it to this one for tracking
The conflict is caused by PSU sensors dynamic configuration https://github.com/sonic-net/sonic-buildimage/pull/18528 doesn't been cherry-pick to 202311 yet.
Discussed offline. The change LGTM.
Re-adding tags to trigger auto cherry-pick
Cherry-pick PR to 202311: https://github.com/sonic-net/sonic-buildimage/pull/20034
Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-buildimage/pull/20035