sonic-mgmt
sonic-mgmt copied to clipboard
[action] [PR:14154] Enhancement of test_sensors.py to address several issues
Description of PR
Summary: Fixes # (issue) Enhancement of test_sensors.py to address several issues:
- Updated PSU mapping of msn4600-r0 platform.
- Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model.
- Added support to PSU Model MTEF-AC-G.
Type of change
- [ ] Bug fix
- [] Testbed and Framework(new/improvement)
- [x] Test case(new/improvement)
Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [x] 202311
- [x] 202405
Approach
What is the motivation for this PR?
Address several issues with the sensor test case.
How did you do it?
Updated the Dynamic PSU mapping process to address the issues.
How did you verify/test it?
Run test_sensors.py on several Systems (each of the PSU Models listed in psu_data.yaml).
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation
Original PR: https://github.com/sonic-net/sonic-mgmt/pull/14154