Skip to content

Remove Cisco platform sku-sensors-data#15997

Merged
kevinskwang merged 1 commit intosonic-net:masterfrom
spilkey-cisco:spilkey/sensors-conf
Dec 20, 2024
Merged

Remove Cisco platform sku-sensors-data#15997
kevinskwang merged 1 commit intosonic-net:masterfrom
spilkey-cisco:spilkey/sensors-conf

Conversation

@spilkey-cisco
Copy link
Contributor

Description of PR

Summary:

Cisco platforms have migrated away from sensord/lm-sensors in favor of sensormond for better monitoring of sensors. sensor/lm-sensors has been disabled for Cisco platforms, so the sku-sensors-data configurations should be removed so test_sensors.py can pass.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Sensor configurations hard-coded into sku-sensors-data are actually dynamic from the OS, so test_sensors.py can start to fail due to varying changes that may change sensor device addresses and naming that are dynamically allocated by the OS. sensormond uses consistent configurations, and SONiC is able to react to alarms from sensors, where sensord/lm-sensors is unable.

How did you do it?

Remove Cisco platform sku-sensors-data configurations.

How did you verify/test it?

Run test_sensors.py

Any platform specific information?

N/A

Supported testbed topology if it's a new test case?

N/A

Documentation

N/A

@brehonk
Copy link

brehonk commented Dec 11, 2024

@kevinwangsk , can you please review.

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #16180

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #16181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants