public icon indicating copy to clipboard operation
public copied to clipboard

Update component temperature thresholds

Open dplore opened this issue 11 months ago • 5 comments

Change Scope

  • Deprecate existing temperature threshold because it uses units (uint32) which are not compatible with temperature (decimal)
  • Add high and low temperature thresholds using decimal64 celsius units
  • This change is backwards compatible

Tree view

*** /Users/dloher/old-tree.txt  Wed Mar 20 13:05:59 2024
--- /Users/dloher/newthres-tree.txt     Wed Mar 20 13:00:27 2024
***************
*** 8588,8603 ****
          |  +--ro switchover-ready?               boolean
          |  +--ro base-mac-address?               oc-yang:mac-address
          |  +--ro temperature
          |  |  +--ro instant?           decimal64
          |  |  +--ro avg?               decimal64
          |  |  +--ro min?               decimal64
          |  |  +--ro max?               decimal64
          |  |  +--ro interval?          oc-types:stat-interval
          |  |  +--ro min-time?          oc-types:timeticks64
          |  |  +--ro max-time?          oc-types:timeticks64
          |  |  +--ro alarm-status?      boolean
!         |  |  +--ro alarm-threshold?   uint32
!         |  |  +--ro alarm-severity?    identityref
          |  +--ro memory
          |  |  +--ro available?   uint64
          |  |  +--ro utilized?    uint64
--- 8588,8607 ----
          |  +--ro switchover-ready?               boolean
          |  +--ro base-mac-address?               oc-yang:mac-address
          |  +--ro temperature
          |  |  +--ro instant?                 decimal64
          |  |  +--ro avg?                     decimal64
          |  |  +--ro min?                     decimal64
          |  |  +--ro max?                     decimal64
          |  |  +--ro interval?                oc-types:stat-interval
          |  |  +--ro min-time?                oc-types:timeticks64
          |  |  +--ro max-time?                oc-types:timeticks64
          |  |  +--ro alarm-status?            boolean
+         |  |  +--ro alarm-threshold-lower?   decimal64
+         |  |  +--ro alarm-severity-lower?    identityref
+         |  |  +--ro alarm-threshold-upper?   decimal64
+         |  |  +--ro alarm-severity-upper?    identityref
+         |  |  x--ro alarm-threshold?         uint32
+         |  |  x--ro alarm-severity?          identityref
          |  +--ro memory
          |  |  +--ro available?   uint64
          |  |  +--ro utilized?    uint64

Platform Implementations

  • Reference Cisco IOS XR
=============================================================================================================
Location  TEMPERATURE                          Value     Crit    Major    Minor    Minor    Major    Crit
         Sensor                             (deg C)     (Lo)     (Lo)     (Lo)     (Hi)     (Hi)    (Hi)
-------------------------------------------------------------------------------------------------------------
0/RP0/CPU0 
         MB_JM01_L1_TEMP                        37      -10       -5        0      130      135      140
         MB_JM01_L2_TEMP                        36      -10       -5        0      130      135      140
         MB_JM11_L1_TEMP                        33      -10       -5        0      130      135      140
         MB_JM21_L1_TEMP                        36      -10       -5        0      130      135      140 
user@host> show chassis temperature-thresholds
                           Fan speed      Yellow alarm      Red alarm      Fire Shutdown
                          (degrees C)      (degrees C)     (degrees C)      (degrees C)
Item                     Normal  High   Normal  Bad fan   Normal  Bad fan     Normal
Routing Engine 0             48    54       85       85      100      100      102
Routing Engine 1             48    54       85       85      100      100      102
CB 0 Intake Temp Sensor      30    35       80       80       85       85       95
CB 0 Exhaust Temp Sensor     30    35       80       80       85       85       95
CB 0 CPU Die Temp Sensor     40    45       95       95      100      100      110
CB 1 Intake Temp Sensor      30    35       80       80       85       85       95
CB 1 Exhaust Temp Sensor     30    35       80       80       85       85       95
CB 1 CPU Die Temp Sensor     40    45       95       95      100      100      110
FPC 0 Intake-A Temp Sensor   30    35       80       80       85       85       95

dplore avatar Mar 05 '24 20:03 dplore