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

[action] [PR:14154] Enhancement of test_sensors.py to address several issues

Open mssonicbld opened this issue 1 year ago • 1 comments

Description of PR

Summary: Fixes # (issue) Enhancement of test_sensors.py to address several issues:

  1. Updated PSU mapping of msn4600-r0 platform.
  2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model.
  3. 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

mssonicbld avatar Sep 10 '24 02:09 mssonicbld

Original PR: https://github.com/sonic-net/sonic-mgmt/pull/14154

mssonicbld avatar Sep 10 '24 02:09 mssonicbld