[PDDF] Rename temp for as7816/7326/7726 #10609
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Jostar Yang jostar_yang@accton.com.tw
Why I did it
Renaming temp for cmd sensors and show platform temp. To let user is easy to know temp location from naming.
How I did it
How to verify it
Test cmd, sensors, and show platform temp.
For as7816,
root@sonic:/home/admin# show platform temperature
Sensor Temperature High TH Low TH Crit High TH Crit Low TH Warning Timestamp
MB_RearCenter_temp(0x49) 29.5 80.0 N/A N/A N/A False 20220321 02:51:19
MB_RightCenter_temp(0x4A) 20.5 80.0 N/A N/A N/A False 20220321 02:51:19
PSU1_TEMP1 15 N/A N/A N/A N/A False 20220321 02:51:19
PSU2_TEMP1 0 N/A N/A N/A
root@sonic:/home/admin# sensors
lm75-i2c-18-48
Adapter: i2c-1-mux (chan_id 1)
MB_MAC_temp: +25.0 C (high = +80.0 C, hyst = +75.0 C)
lm75-i2c-17-4e
Adapter: i2c-1-mux (chan_id 0)
FB_2_temp: +22.0 C (high = +80.0 C, hyst = +75.0 C)
lm75-i2c-18-4a
Adapter: i2c-1-mux (chan_id 1)
MB_RightCenter_temp: +20.5 C (high = +80.0 C, hyst = +75.0 C)
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +42.0 C (high = +82.0 C, crit = +104.0 C)
Core 0: +42.0 C (high = +82.0 C, crit = +104.0 C)
Core 1: +42.0 C (high = +82.0 C, crit = +104.0 C)
Core 2: +42.0 C (high = +82.0 C, crit = +104.0 C)
Core 3: +42.0 C (high = +82.0 C, crit = +104.0 C)
lm75-i2c-18-49
Adapter: i2c-1-mux (chan_id 1)
MB_RearCenter_temp: +29.5 C (high = +80.0 C, hyst = +75.0 C)
fan_ctrl-i2c-17-68
Adapter: i2c-1-mux (chan_id 0)
fan1: 9897 RPM
fan2: 7791 RPM
fan3: 9637 RPM
fan4: 7961 RPM
fan5: 9897 RPM
fan6: 7791 RPM
fan7: 9637 RPM
fan8: 7961 RPM
lm75-i2c-18-4b
Adapter: i2c-1-mux (chan_id 1)
CpuBoard_temp: +21.5 C (high = +80.0 C, hyst = +75.0 C)
lm75-i2c-17-4d
Adapter: i2c-1-mux (chan_id 0)
FB_1_temp: +22.0 C (high = +80.0 C, hyst = +75.0 C)
psu_pmbus-i2c-10-5b
Adapter: i2c-1-mux (chan_id 1)
in3: +0.00 V
fan1: 0 RPM
temp1: +0.0 C
power2: 0.00 W
curr2: +0.00 A
psu_pmbus-i2c-9-58
Adapter: i2c-1-mux (chan_id 0)
in3: +12.00 V
fan1: 11600 RPM
temp1: +15.0 C
power2: 226.00 W
curr2: +18.88 A
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)