Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

janga: config: modify pmUnitName and adjust SMB_U337_PMBUS_1 & SMB_U177_PMBUS_2 #266

Closed
wants to merge 2 commits into from

Conversation

zhongedward
Copy link
Contributor

@zhongedward zhongedward commented Oct 14, 2024

Description
This PR is for janga 2nd source sensor service.

Motivation
1.In platform such common sensors: “SMB_E1S_SSD_TEMP”, “SMB_U104_OUTER_LM75_TEMP”, “SMB_U15_OSFP_OUTER_LM75_TEMP” we put them in pmUnitName JANGA, SMB only exist versioned sensors to avoid redundancy.
image

2.We have checked the email info and found we do not need to change platform config just change sensor config.
image

3.So I moved common SMB sensors to pmUnitName JANGA according to platform config(In this PR i did not change platform config,just following the platform config structure).
4.Added SMB_U337_PMBUS_1 and SMB_U177_PMBUS_2 configs for every SMB main source and SMB 2nd source,because they are versioned sensors missed it before.
5.Adjusted "RUNBMC" pmUnitName to "MINERVA_BMC".

Test Plan
1.The correctness of the format has been verified on this website https://jsonlint.com/
2.Used jq cmd to pretty the format.
3.Test log as follows:
Tested both in janga dvt main source & janga dvt 2nd source machine.

janga 2nd source tested log:
image

janga main source tested log:
image

janga_dvt_2nd_platform_10_12_test.txt
janga_dvt_2nd_sensor_10_12_test.txt
janga_dvt_main_source_platform_10_12_test.txt
janga_dvt_main_source_sensor_10_12_test.txt

@kimdo8736
Copy link

Thank you.

@facebook-github-bot
Copy link
Contributor

@kimdo8736 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kimdo8736 merged this pull request in a715823.

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.

3 participants