OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

[Accton][as7535-28xb] Modify thermal threshold value displayed in ONLD…

Open ec-michael-shih opened this issue 7 months ago • 0 comments

Assign thermal sensors' threshold value and show value by using command: onlpdump

#onlpdump:
   System Information: = {
       Product Name: 7535-28XB-O-AC-F
       Part Number: F0PEC7332005A
       Serial Number: EC2116000683
       MAC: 90:3c:b3:1a:e1:00
       MAC Range: 256
       Manufacturer: Accton
       Manufacture Date: 11/25/2021 10:15:15
       Vendor: Edgecore
       Platform Name: x86_64-accton_as7535_28xb-r0
       Label Revision: R0B
       Country Code: TW
       Diag Version: 02.01.00.01
       ONIE Version: 2020.11.00.14
   }
   thermal @ 1 = {
       Description: CPU Core
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 33000
       thresholds = {
           Warning: 94000
           Error: 100000
           Shutdown: 103000
       }
   }
   thermal @ 2 = {
       Description: LM75-4B
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 27000
       thresholds = {
           Warning: 74000
           Error: 79000
           Shutdown: 84000
       }
   }
   thermal @ 3 = {
       Description: TMP431_0x4C_U50
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 25000
       thresholds = {
           Warning: 84000
           Error: 89000
           Shutdown: 94000
       }
   }
   thermal @ 4 = {
       Description: TMP431_0x4C_MAC
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 32000
       thresholds = {
           Warning: 97000
           Error: 102000
           Shutdown: 107000
       }
   }
   thermal @ 5 = {
       Description: LM75-4D
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 32000
       thresholds = {
           Warning: 87000
           Error: 92000
           Shutdown: 97000
       }
   }
   thermal @ 6 = {
       Description: LM75-4E
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 30000
       thresholds = {
           Warning: 80000
           Error: 85000
           Shutdown: 90000
       }
   }
   thermal @ 7 = {
       Description: LM75-4F
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 26000
       thresholds = {
           Warning: 80000
           Error: 85000
           Shutdown: 90000
       }
   }
   led @ 1 = {
       Description: Chassis LED 1 (LOC LED)
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x00080001 [ ON_OFF,BLUE_BLINKING ]
       Mode: OFF
       Char:
   }

    ...(skip)...

   psu @ 1 = {
       Description: PSU-1
       Model:  PS-2601-6R
       SN:     6Z6RX01X224323Y
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x000001f9 [ AC,VIN,VOUT,IIN,IOUT,PIN,POUT ]
       Vin:    226750
       Vout:   12035
       Iin:    478
       Iout:   7359
       Pin:    98250
       Pout:   88000
       thermal @ 8 = {
           Description: PSU-1 Thermal Sensor 1
           Status: 0x00000001 [ PRESENT ]
           Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
           Temperature: 24000
           thresholds = {
               Warning: 85000
               Error: 90000
               Shutdown: 95000
           }
       }
       thermal @ 9 = {
           Description: PSU-1 Thermal Sensor 2
           Status: 0x00000001 [ PRESENT ]
           Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
           Temperature: 36000
           thresholds = {
               Warning: 110000
               Error: 115000
               Shutdown: 120000
           }
       }
       thermal @ 10 = {
           Description: PSU-1 Thermal Sensor 3
           Status: 0x00000001 [ PRESENT ]
           Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
           Temperature: 28000
           thresholds = {
               Warning: 95000
               Error: 100000
               Shutdown: 105000
           }
       }
       fan @ 7 = {
           Description: PSU 1 - Fan 1
           Status: 0x00000005 [ PRESENT,B2F ]
           Caps:   0x00000038 [ SET_PERCENTAGE,GET_RPM,GET_PERCENTAGE ]
           RPM:    4736
           Per:    15
           Model:  NULL
           SN:     NULL
       }
   }
   psu @ 2 = {   /*Power off: no info*/
       Description: PSU-2
       Model:  NULL
       SN:     NULL
       Status: 0x00000003 [ PRESENT,FAILED ]
       Caps:   0x00000000
       Vin:    0
       Vout:   0
       Iin:    0
       Iout:   0
       Pin:    0
       Pout:   0
   }

ec-michael-shih avatar Mar 20 '25 01:03 ec-michael-shih