Skip to content

Add show platform fan, show platform temperature, show platform current, show platform voltage#190

Closed
Sreevanich16 wants to merge 3 commits intoAzure:masterfrom
Sreevanich16:platformcmds
Closed

Add show platform fan, show platform temperature, show platform current, show platform voltage#190
Sreevanich16 wants to merge 3 commits intoAzure:masterfrom
Sreevanich16:platformcmds

Conversation

@Sreevanich16
Copy link
Copy Markdown

@Sreevanich16 Sreevanich16 commented Mar 18, 2026

MS ADO: 36966829

Why I did it

Added gNMI getter for show platform fan, show platform temperature, show platform current, show platform voltage so client can fetch platform information via gNMI in JSON format.

How I did it

Wrote getters getPlatformFan(), getPlatformTemperature(), getPlatformVolatge(), getPlatformCurrent()
Added unitests for all commands.

(SHOW command specific) What sources are you using to fetch data?

STATE_DB

How to verify it (Please provide snapshot of diff coverage from CI pipeline)

image

(Show command specific) Output of show CLI that is equivalent to API output

admin@bjw2-can-4600c-2:~$ show platform fan
  Drawer    LED        FAN    Speed    Direction    Presence    Status          Timestamp
--------  -----  ---------  -------  -----------  ----------  --------  -----------------
 drawer1  green       fan1      27%      exhaust     Present        OK  20260223 09:18:32
 drawer2  green       fan2      27%      exhaust     Present        OK  20260223 09:18:32
 drawer3  green       fan3      27%      exhaust     Present        OK  20260223 09:18:32
     N/A  green  psu1_fan1      43%      exhaust     Present        OK  20260223 09:18:32
     N/A  green  psu2_fan1      42%      exhaust     Present        OK  20260223 09:18:32
admin@bjw2-can-4600c-2:~$ show platform temperature
                Sensor    Temperature    High TH    Low TH    Crit High TH    Crit Low TH    Warning          Timestamp
----------------------  -------------  ---------  --------  --------------  -------------  ---------  -----------------
                  ASIC           69.0        105       N/A             120            N/A      False  20260223 09:18:32
    Ambient COMEX Temp         48.875        N/A       N/A             N/A            N/A      False  20260223 09:18:32
 Ambient Fan Side Temp         29.312        N/A       N/A             N/A            N/A      False  20260223 09:18:32
Ambient Port Side Temp         26.187        N/A       N/A             N/A            N/A      False  20260223 09:18:32
       CPU Core 0 Temp           60.0       82.0       N/A           104.0            N/A      False  20260223 09:18:32
       CPU Core 1 Temp           60.0       82.0       N/A           104.0            N/A      False  20260223 09:18:32
       CPU Core 2 Temp           60.0       82.0       N/A           104.0            N/A      False  20260223 09:18:32
       CPU Core 3 Temp           60.0       82.0       N/A           104.0            N/A      False  20260223 09:18:32
         CPU Pack Temp           60.0       82.0       N/A           104.0            N/A      False  20260223 09:18:32
            PSU-1 Temp          24.25       60.0       N/A             N/A            N/A      False  20260223 09:18:32
            PSU-2 Temp          22.75       60.0       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 1 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 2 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 3 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 4 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 5 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 6 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 7 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 8 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
    xSFP module 9 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 10 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 11 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 12 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 13 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 14 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 15 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 16 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 17 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 18 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 19 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 20 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 21 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 22 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 23 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 24 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 25 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 26 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 27 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 28 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 29 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 30 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 31 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 32 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 33 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 34 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 35 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 36 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 37 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 38 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 39 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 40 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 41 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 42 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 43 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 44 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 45 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 46 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 47 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 48 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 49 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 50 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 51 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 52 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 53 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 54 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 55 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 56 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 57 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 58 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 59 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 60 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 61 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 62 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 63 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32
   xSFP module 64 Temp            N/A        N/A       N/A             N/A            N/A      False  20260223 09:18:32

>>>Added dummy data for show platform voltage and current as there was no data for these commands in state db(output shows sensor not detected)
>>>Populated dummy data in state db to test if gnmi code is working as expected.

admin@bjw2-can-4600c-2:~$ sudo show platform voltage
                 Sensor    Voltage    High TH    Low TH    Crit High TH    Crit Low TH    Warning          Timestamp
-----------------------  ---------  ---------  --------  --------------  -------------  ---------  -----------------
    VOLT-RAIL-01-12V-IN    12.18 V      12.6       11.4            12.9           11        False  20260223 10:02:52
VOLT-RAIL-02-12V-BACKUP    12.10 V      12.6       11.4            12.9           11        False  20260223 10:02:52
VOLT-RAIL-03-5V-CONTROL     5.05 V       5.3        4.7             5.5            4.5      False  20260223 10:02:52
 VOLT-RAIL-04-3V3-LOGIC     3.29 V       3.5        3               3.7            2.8      False  20260223 10:02:52
  VOLT-RAIL-05-1V8-CORE     1.81 V       2          1.6             2.1            1.5      False  20260223 10:02:52
  VOLT-RAIL-06-0V9-ASIC     0.92 V       1.05       0.8             1.1            0.7      False  20260223 10:02:52
admin@bjw2-can-4600c-2:~$ sudo show platform current
              Sensor    Current    High TH    Low TH    Crit High TH    Crit Low TH    Warning          Timestamp
--------------------  ---------  ---------  --------  --------------  -------------  ---------  -----------------
    CURR-01-PSU-A-IN      4.8 A          9       1              11             0.5       False  20260223 10:02:52
    CURR-02-PSU-B-IN      4.3 A          9       1              11             0.5       False  20260223 10:02:52
CURR-03-SYSTEM-TOTAL      7.9 A         12       2              14             1         False  20260223 10:02:52
   CURR-04-ASIC-LOAD      3.2 A          6       0.5             7.5           0.2       False  20260223 10:02:52
  CURR-05-PORT-POWER      2.6 A          5       0.3             6             0.1       False  20260223 10:02:52
   CURR-06-FAN-POWER      1.4 A          3       0.1             3.5           0.05      False  20260223 10:02:52

admin@bjw2-can-4600c-2:~$ show platform voltage
Sensor not detected
admin@bjw2-can-4600c-2:~$ show platform current
Sensor not detected
admin@bjw2-can-4600c-2:~$

Manual test output of API on device (Please provide output from device that you have tested your changes on)

root@bjw2-can-4600c-2:/# gnmi_get -xpath_target SHOW -xpath platform/fan -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "fan"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771838273676759427
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "fan"
      >
    >
    val: <
      json_ietf_val: "[{\"drawer\":\"drawer1\",\"led\":\"green\",\"fan\":\"fan1\",\"speed\":\"27%\",\"direction\":\"exhaust\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260223 09:17:32\"},{\"drawer\":\"drawer2\",\"led\":\"green\",\"fan\":\"fan2\",\"speed\":\"27%\",\"direction\":\"exhaust\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260223 09:17:32\"},{\"drawer\":\"drawer3\",\"led\":\"green\",\"fan\":\"fan3\",\"speed\":\"27%\",\"direction\":\"exhaust\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260223 09:17:32\"},{\"drawer\":\"N/A\",\"led\":\"green\",\"fan\":\"psu1_fan1\",\"speed\":\"43%\",\"direction\":\"exhaust\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260223 09:17:32\"},{\"drawer\":\"N/A\",\"led\":\"green\",\"fan\":\"psu2_fan1\",\"speed\":\"42%\",\"direction\":\"exhaust\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260223 09:17:32\"}]"
    >
  >
>

root@bjw2-can-4600c-2:/# gnmi_get -xpath_target SHOW -xpath platform/temperature -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "temperature"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771838290403603790
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "temperature"
      >
    >
    val: <
      json_ietf_val: "[{\"sensor\":\"ASIC\",\"temperature\":\"70.0\",\"high_th\":\"105\",\"low_th\":\"N/A\",\"crit_high_th\":\"120\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"Ambient COMEX Temp\",\"temperature\":\"48.812\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"Ambient Fan Side Temp\",\"temperature\":\"29.5\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"Ambient Port Side Temp\",\"temperature\":\"26.25\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"CPU Core 0 Temp\",\"temperature\":\"60.0\",\"high_th\":\"82.0\",\"low_th\":\"N/A\",\"crit_high_th\":\"104.0\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"CPU Core 1 Temp\",\"temperature\":\"60.0\",\"high_th\":\"82.0\",\"low_th\":\"N/A\",\"crit_high_th\":\"104.0\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"CPU Core 2 Temp\",\"temperature\":\"60.0\",\"high_th\":\"82.0\",\"low_th\":\"N/A\",\"crit_high_th\":\"104.0\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"CPU Core 3 Temp\",\"temperature\":\"60.0\",\"high_th\":\"82.0\",\"low_th\":\"N/A\",\"crit_high_th\":\"104.0\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"CPU Pack Temp\",\"temperature\":\"60.0\",\"high_th\":\"82.0\",\"low_th\":\"N/A\",\"crit_high_th\":\"104.0\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"PSU-1 Temp\",\"temperature\":\"24.25\",\"high_th\":\"60.0\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"PSU-2 Temp\",\"temperature\":\"22.75\",\"high_th\":\"60.0\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 1 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 2 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 3 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 4 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 5 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 6 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 7 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 8 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 9 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 10 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 11 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 12 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 13 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 14 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 15 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 16 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 17 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 18 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 19 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 20 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 21 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 22 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 23 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 24 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 25 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 26 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 27 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 28 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 29 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 30 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 31 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 32 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 33 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 34 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 35 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 36 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 37 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 38 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 39 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 40 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 41 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 42 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 43 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 44 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 45 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 46 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 47 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 48 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 49 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 50 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 51 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 52 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 53 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 54 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 55 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 56 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 57 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 58 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 59 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 60 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 61 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 62 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 63 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"},{\"sensor\":\"xSFP module 64 Temp\",\"temperature\":\"N/A\",\"high_th\":\"N/A\",\"low_th\":\"N/A\",\"crit_high_th\":\"N/A\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260223 09:17:32\"}]"
    >
  >
>

admin@bjw2-can-4600c-2:~$ docker exec -it telemetry bash
root@bjw2-can-4600c-2:/# gnmi_get -xpath_target SHOW -xpath platform/voltage -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "voltage"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771841034111685058
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "voltage"
      >
    >
    val: <
      json_ietf_val: "[{\"sensor\":\"VOLT-RAIL-01-12V-IN\",\"voltage\":\"12.18 V\",\"high_th\":\"12.60\",\"low_th\":\"11.40\",\"crit_high_th\":\"12.90\",\"crit_low_th\":\"11.00\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"VOLT-RAIL-02-12V-BACKUP\",\"voltage\":\"12.10 V\",\"high_th\":\"12.60\",\"low_th\":\"11.40\",\"crit_high_th\":\"12.90\",\"crit_low_th\":\"11.00\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"VOLT-RAIL-03-5V-CONTROL\",\"voltage\":\"5.05 V\",\"high_th\":\"5.30\",\"low_th\":\"4.70\",\"crit_high_th\":\"5.50\",\"crit_low_th\":\"4.50\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"VOLT-RAIL-04-3V3-LOGIC\",\"voltage\":\"3.29 V\",\"high_th\":\"3.50\",\"low_th\":\"3.00\",\"crit_high_th\":\"3.70\",\"crit_low_th\":\"2.80\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"VOLT-RAIL-05-1V8-CORE\",\"voltage\":\"1.81 V\",\"high_th\":\"2.00\",\"low_th\":\"1.60\",\"crit_high_th\":\"2.10\",\"crit_low_th\":\"1.50\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"VOLT-RAIL-06-0V9-ASIC\",\"voltage\":\"0.92 V\",\"high_th\":\"1.05\",\"low_th\":\"0.80\",\"crit_high_th\":\"1.10\",\"crit_low_th\":\"0.70\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"}]"
    >
  >
>

root@bjw2-can-4600c-2:/# gnmi_get -xpath_target SHOW -xpath platform/current -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "current"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771841045379143617
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "current"
      >
    >
    val: <
      json_ietf_val: "[{\"sensor\":\"CURR-01-PSU-A-IN\",\"current\":\"4.8 A\",\"high_th\":\"9.0\",\"low_th\":\"1.0\",\"crit_high_th\":\"11.0\",\"crit_low_th\":\"0.5\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"CURR-02-PSU-B-IN\",\"current\":\"4.3 A\",\"high_th\":\"9.0\",\"low_th\":\"1.0\",\"crit_high_th\":\"11.0\",\"crit_low_th\":\"0.5\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"CURR-03-SYSTEM-TOTAL\",\"current\":\"7.9 A\",\"high_th\":\"12.0\",\"low_th\":\"2.0\",\"crit_high_th\":\"14.0\",\"crit_low_th\":\"1.0\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"CURR-04-ASIC-LOAD\",\"current\":\"3.2 A\",\"high_th\":\"6.0\",\"low_th\":\"0.5\",\"crit_high_th\":\"7.5\",\"crit_low_th\":\"0.2\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"CURR-05-PORT-POWER\",\"current\":\"2.6 A\",\"high_th\":\"5.0\",\"low_th\":\"0.3\",\"crit_high_th\":\"6.0\",\"crit_low_th\":\"0.1\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"},{\"sensor\":\"CURR-06-FAN-POWER\",\"current\":\"1.4 A\",\"high_th\":\"3.0\",\"low_th\":\"0.1\",\"crit_high_th\":\"3.5\",\"crit_low_th\":\"0.05\",\"warning\":\"False\",\"timestamp\":\"20260223 10:02:52\"}]"
    >
  >
>

root@bjw2-can-4600c-2:/#

admin@bjw2-can-4600c-2:~$ docker exec -it telemetry bash
root@bjw2-can-4600c-2:/# gnmi_get -xpath_target SHOW -xpath platform/current -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "current"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771843203368737393
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "current"
      >
    >
    val: <
      json_ietf_val: "\"Sensor not detected\""
    >
  >
>

root@bjw2-can-4600c-2:/# gnmi_get -xpath_target SHOW -xpath platform/voltage -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "voltage"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771843239979887122
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "voltage"
      >
    >
    val: <
      json_ietf_val: "\"Sensor not detected\""
    >
  >
>



Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@Sreevanich16
Copy link
Copy Markdown
Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Sreevanich16
Copy link
Copy Markdown
Author

Cisco device testing logs

(Show command specific) Output of show CLI that is equivalent to API output

admin@str3-8102-01:~$ show platform fan
  Drawer    LED            FAN    Speed    Direction    Presence    Status          Timestamp
--------  -----  -------------  -------  -----------  ----------  --------  -----------------
     N/A    N/A      PSU0.fan0      50%       intake     Present        OK  20260220 07:02:57
     N/A    N/A      PSU1.fan0      50%       intake     Present        OK  20260220 07:02:57
fantray0  green  fantray0.fan0      20%       intake     Present        OK  20260220 07:02:56
fantray0  green  fantray0.fan1      20%       intake     Present        OK  20260220 07:02:56
fantray1  green  fantray1.fan0      20%       intake     Present        OK  20260220 07:02:56
fantray1  green  fantray1.fan1      21%       intake     Present        OK  20260220 07:02:56
fantray2  green  fantray2.fan0      20%       intake     Present        OK  20260220 07:02:56
fantray2  green  fantray2.fan1      20%       intake     Present        OK  20260220 07:02:56
admin@str3-8102-01:~$ show platform temperature
                    Sensor    Temperature    High TH    Low TH    Crit High TH    Crit Low TH    Warning          Timestamp
--------------------------  -------------  ---------  --------  --------------  -------------  ---------  -----------------
           ADT75_FANB_TEMP         41             75       -10              80            -15      False  20260220 07:02:58
         CPU_U4_P1V05_TEMP         39.562        135        -5             140            -10      False  20260220 07:02:58
        CPU_U4_PVCCIN_TEMP         39.562        135        -5             140            -10      False  20260220 07:02:58
          CPU_U5_P1V2_TEMP         34.187        135        -5             140            -10      False  20260220 07:02:58
         CPU_U5_P1V05_TEMP         34.437        135        -5             140            -10      False  20260220 07:02:58
                DIMM_TEMP1         31.5           95        -5             100            -10      False  20260220 07:02:57
     MB_U1_GB_CORE_L1_TEMP         50.437        115        -8             125            -10      False  20260220 07:02:59
       MB_U1_P3V3L_L1_TEMP         37.625        135        -5             140            -10      False  20260220 07:02:59
       MB_U1_P3V3L_L2_TEMP         37.375        135        -5             140            -10      False  20260220 07:02:59
 MB_U1_P3V3R_VDDCK_L1_TEMP         42.75         135        -5             140            -10      False  20260220 07:02:58
 MB_U1_P3V3R_VDDCK_L2_TEMP         54.687        135        -5             140            -10      False  20260220 07:02:58
   MB_U1_VDDS_VDDA_L1_TEMP         54.687        135        -5             140            -10      False  20260220 07:02:58
   MB_U1_VDDS_VDDA_L2_TEMP         54.187        135        -5             140            -10      False  20260220 07:02:58
 MB_U113_TMP421_LOCAL_TEMP         26.875         55       -10              60            -15      False  20260220 07:02:58
MB_U113_TMP421_REMOTE_TEMP         23.375         53       -10              58            -15      False  20260220 07:02:58
               NPU0_TEMP_0         51            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_1         51            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_2         54            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_3         51            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_4         55            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_5         50            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_6         47            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_7         53            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_8         58            102        -5             125            -10      False  20260220 07:02:59
               NPU0_TEMP_9         47            102        -5             125            -10      False  20260220 07:02:59
            PSU0 HSNK_Temp         33.25          85        -5              90            -10      False  20260220 07:02:59
           PSU0 Inlet_Temp         32             66        -5              70            -10      False  20260220 07:02:59
          PSU0 Outlet_Temp         34.75          85        -5              90            -10      False  20260220 07:02:59
            PSU1 HSNK_Temp         33.5           85        -5              90            -10      False  20260220 07:03:00
           PSU1 Inlet_Temp         30.75          66        -5              70            -10      False  20260220 07:03:00
          PSU1 Outlet_Temp         33.5           85        -5              90            -10      False  20260220 07:03:00
                  SSD_Temp         29             75         0              80            -10      False  20260220 07:02:57
              X86_CORE_0_T         46            110        -5             115            -10      False  20260220 07:02:57
admin@str3-8102-01:~$ show platform current
                    Sensor    Current    High TH    Low TH    Crit High TH    Crit Low TH    Warning          Timestamp
--------------------------  ---------  ---------  --------  --------------  -------------  ---------  -----------------
        CPU_U4_PVCCIN_IOUT    4820 mA      25000       N/A           28600            N/A      False  20260220 07:03:03
   CPU_U4_PVCCIN_P1V05_IIN    1017 mA       4400       N/A            5500            N/A      False  20260220 07:03:03
          CPU_U5_P1V2_IOUT    1464 mA       4000       N/A            5500            N/A      False  20260220 07:03:04
         CPU_U5_P1V05_IOUT    1708 mA       7000       N/A            9900            N/A      False  20260220 07:03:04
              FAN01_ISENSE     107 mA       1980       N/A            5300            N/A      False  20260220 07:03:03
              FAN23_ISENSE     104 mA       1980       N/A            5300            N/A      False  20260220 07:03:04
              FAN45_ISENSE      98 mA       1980       N/A            5300            N/A      False  20260220 07:03:04
      MB_U1_GB_CORE_L1_IIN    6078 mA      19000       N/A           21000            N/A      False  20260220 07:03:04
     MB_U1_GB_CORE_L1_IOUT   95500 mA     247000       N/A          285000            N/A      False  20260220 07:03:04
     MB_U1_GB_VDDA_L2_IOUT   18812 mA      47000       N/A           54000            N/A      False  20260220 07:03:05
    MB_U1_GB_VDDCK_L2_IOUT    2199 mA      25000       N/A           29000            N/A      False  20260220 07:03:05
     MB_U1_GB_VDDS_L1_IOUT    9218 mA      38000       N/A           44000            N/A      False  20260220 07:03:04
    MB_U1_GB_VDDS_VDDA_IIN    3523 mA       8000       N/A            9000            N/A      False  20260220 07:03:05
       MB_U1_P3V3_L_L1_IIN     732 mA      13000       N/A           15000            N/A      False  20260220 07:03:05
      MB_U1_P3V3_L_L1_IOUT     458 mA      37000       N/A           42000            N/A      False  20260220 07:03:05
 MB_U1_P3V3_R_GB_VDDCK_IIN    2984 mA      24000       N/A           27000            N/A      False  20260220 07:03:05
      MB_U1_P3V3_R_L1_IOUT    5703 mA      61000       N/A           77000            N/A      False  20260220 07:03:05
    MB_U97_12V_GB_INA_IOUT   23980 mA      38000       N/A           40000            N/A      False  20260220 07:03:04
   MB_U97_12V_GEN_INA_IOUT    7200 mA       9800       N/A           10200            N/A      False  20260220 07:03:04
MB_U97_12V_QSFP_L_INA_IOUT   35980 mA      38000       N/A           40000            N/A      False  20260220 07:03:04
MB_U97_12V_QSFP_R_INA_IOUT    2960 mA      34000       N/A           35000            N/A      False  20260220 07:03:04
admin@str3-8102-01:~$ show platform voltage
                       Sensor    Voltage    High TH    Low TH    Crit High TH    Crit Low TH    Warning          Timestamp
-----------------------------  ---------  ---------  --------  --------------  -------------  ---------  -----------------
     CPU_U4_P1V05_VCCSUS_VOUT    1050 mV       1208       893            1260            840      False  20260220 07:03:03
       CPU_U4_P1V8_VCCIN_VOUT    1790 mV       2070      1530            2160           1440      False  20260220 07:03:03
 CPU_U4_P12V_VCCIN_VCCSUS_VIN   11984 mV      13800     10200           14400           9600      False  20260220 07:03:03
    CPU_U5_12V_DIMM_VCCIN_VIN   12000 mV      13800     10200           14400           9600      False  20260220 07:03:03
        CPU_U5_DIMM_P1V2_VOUT    1200 mV       1380      1020            1440            960      False  20260220 07:03:03
        CPU_U5_P1V05_PCH_VOUT    1050 mV       1208       893            1260            840      False  20260220 07:03:03
              CPU_U46_5V_VOUT    5049 mV       5750      4250            6000           4000      False  20260220 07:04:02
         CPU_U46_12V_STBY_VIN   12256 mV      13800     10200           14400           9600      False  20260220 07:03:58
              CPU_U46_12V_VIN   12204 mV      13800     10200           14400           9600      False  20260220 07:04:02
        CPU_U46_P0V6_VTT_VOUT     603 mV        690       510             720            480      False  20260220 07:04:03
           CPU_U46_P1V2A_VOUT    1216 mV       1380      1020            1440            960      False  20260220 07:04:01
   CPU_U46_P1V3_PVCCKRHV_VOUT    1313 mV       1495      1105            1560           1040      False  20260220 07:03:59
        CPU_U46_P1V5_PCH_VOUT    1516 mV       1725      1275            1800           1200      False  20260220 07:04:02
CPU_U46_P1V7_PVCCFUSESUS_VOUT    1715 mV       1955      1445            2040           1360      False  20260220 07:04:00
           CPU_U46_P2V5A_VOUT    2523 mV       2875      2125            3000           2000      False  20260220 07:04:01
        CPU_U46_P2V5_VPP_VOUT    2522 mV       2875      2125            3000           2000      False  20260220 07:04:00
           CPU_U46_P3V3A_VOUT    3314 mV       3795      2805            3960           2640      False  20260220 07:04:01
        CPU_U46_P3V3_PCH_VOUT    3315 mV       3795      2805            3960           2640      False  20260220 07:03:59
       CPU_U46_P3V3_SATA_VOUT    3326 mV       3795      2805            3960           2640      False  20260220 07:04:03
            CPU_U46_P3V3_VOUT    3315 mV       3795      2805            3960           2640      False  20260220 07:04:00
         MB_U1_GB_CORE_L1_VIN   12046 mV      13800     10200           14400           9600      False  20260220 07:03:57
        MB_U1_GB_CORE_L1_VOUT     720 mV        780       660             790            650      False  20260220 07:03:57
        MB_U1_GB_VDDA_L2_VOUT     960 mV       1040       880            1060            860      False  20260220 07:03:58
       MB_U1_GB_VDDCK_L2_VOUT    1150 mV       1240      1060            1270           1040      False  20260220 07:03:58
        MB_U1_GB_VDDS_L1_VOUT     750 mV        860       640             900            600      False  20260220 07:03:57
       MB_U1_GB_VDDS_VDDA_VIN   12031 mV      13800     10200           14400           9600      False  20260220 07:03:58
          MB_U1_P3V3_L_L1_VIN   12000 mV      13800     10200           14400           9600      False  20260220 07:03:58
         MB_U1_P3V3_L_L1_VOUT    3360 mV       3630      3090            3700           3020      False  20260220 07:03:58
    MB_U1_P3V3_R_GB_VDDCK_VIN   12000 mV      13800     10200           14400           9600      False  20260220 07:03:58
         MB_U1_P3V3_R_L1_VOUT    3360 mV       3630      3090            3700           3020      False  20260220 07:03:58
        MB_U97_GB_P1V8_PLLVDD    1800 mV       2070      1530            2160           1440      False  20260220 07:03:56
         MB_U97_GB_P1V8_VDDIO    1800 mV       2070      1530            2160           1440      False  20260220 07:03:56
        MB_U97_GB_PCIE_VDDACK     750 mV        860       640             900            600      False  20260220 07:03:56
          MB_U97_GB_PCIE_VDDH    1199 mV       1380      1020            1440            960      False  20260220 07:03:56
            MB_U97_P1V2A_VOUT    1203 mV       1380      1020            1440            960      False  20260220 07:03:57
            MB_U97_P1V8A_VOUT    1800 mV       2070      1530            2160           1440      False  20260220 07:03:57
             MB_U97_P1VA_VOUT    1002 mV       1150       850            1200            800      False  20260220 07:03:57
            MB_U97_P3V3A_VOUT    3278 mV       3800      2810            3960           2640      False  20260220 07:03:57
             MB_U97_P3V3_VOUT    3300 mV       3800      2810            3960           2640      False  20260220 07:03:57
admin@str3-8102-01:~$

Manual test output of API on device (Please provide output from device that you have tested your changes on)

root@str3-8102-01:/# gnmi_get -xpath_target SHOW -xpath platform/fan -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "fan"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771571107185324174
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "fan"
      >
    >
    val: <
      json_ietf_val: "[{\"drawer\":\"N/A\",\"led\":\"N/A\",\"fan\":\"PSU0.fan0\",\"speed\":\"50%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:57\"},{\"drawer\":\"N/A\",\"led\":\"N/A\",\"fan\":\"PSU1.fan0\",\"speed\":\"50%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:58\"},{\"drawer\":\"fantray0\",\"led\":\"green\",\"fan\":\"fantray0.fan0\",\"speed\":\"20%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:56\"},{\"drawer\":\"fantray0\",\"led\":\"green\",\"fan\":\"fantray0.fan1\",\"speed\":\"20%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:56\"},{\"drawer\":\"fantray1\",\"led\":\"green\",\"fan\":\"fantray1.fan0\",\"speed\":\"20%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:56\"},{\"drawer\":\"fantray1\",\"led\":\"green\",\"fan\":\"fantray1.fan1\",\"speed\":\"20%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:56\"},{\"drawer\":\"fantray2\",\"led\":\"green\",\"fan\":\"fantray2.fan0\",\"speed\":\"20%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:56\"},{\"drawer\":\"fantray2\",\"led\":\"green\",\"fan\":\"fantray2.fan1\",\"speed\":\"20%\",\"direction\":\"intake\",\"presence\":\"Present\",\"status\":\"OK\",\"timestamp\":\"20260220 07:04:56\"}]"
    >
  >
>

root@str3-8102-01:/# gnmi_get -xpath_target SHOW -xpath platform/temperature -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "temperature"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771571144777731880
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "temperature"
      >
    >
    val: <
      json_ietf_val: "[{\"sensor\":\"ADT75_FANB_TEMP\",\"temperature\":\"41.0\",\"high_th\":\"75.0\",\"low_th\":\"-10.0\",\"crit_high_th\":\"80.0\",\"crit_low_th\":\"-15.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"CPU_U4_P1V05_TEMP\",\"temperature\":\"39.312\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"CPU_U4_PVCCIN_TEMP\",\"temperature\":\"39.062\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"CPU_U5_P1V2_TEMP\",\"temperature\":\"33.937\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"CPU_U5_P1V05_TEMP\",\"temperature\":\"34.187\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"DIMM_TEMP1\",\"temperature\":\"31.25\",\"high_th\":\"95.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"100.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"MB_U1_GB_CORE_L1_TEMP\",\"temperature\":\"50.0\",\"high_th\":\"115.0\",\"low_th\":\"-8.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"MB_U1_P3V3L_L1_TEMP\",\"temperature\":\"37.125\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"MB_U1_P3V3L_L2_TEMP\",\"temperature\":\"37.125\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"MB_U1_P3V3R_VDDCK_L1_TEMP\",\"temperature\":\"42.5\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"MB_U1_P3V3R_VDDCK_L2_TEMP\",\"temperature\":\"54.437\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"MB_U1_VDDS_VDDA_L1_TEMP\",\"temperature\":\"54.437\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"MB_U1_VDDS_VDDA_L2_TEMP\",\"temperature\":\"53.937\",\"high_th\":\"135.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"140.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"MB_U113_TMP421_LOCAL_TEMP\",\"temperature\":\"26.75\",\"high_th\":\"55.0\",\"low_th\":\"-10.0\",\"crit_high_th\":\"60.0\",\"crit_low_th\":\"-15.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"MB_U113_TMP421_REMOTE_TEMP\",\"temperature\":\"23.438\",\"high_th\":\"53.0\",\"low_th\":\"-10.0\",\"crit_high_th\":\"58.0\",\"crit_low_th\":\"-15.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"NPU0_TEMP_0\",\"temperature\":\"51.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_1\",\"temperature\":\"51.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_2\",\"temperature\":\"54.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_3\",\"temperature\":\"51.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_4\",\"temperature\":\"54.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_5\",\"temperature\":\"49.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_6\",\"temperature\":\"47.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_7\",\"temperature\":\"53.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_8\",\"temperature\":\"58.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"NPU0_TEMP_9\",\"temperature\":\"47.0\",\"high_th\":\"102.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"125.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:59\"},{\"sensor\":\"PSU0 HSNK_Temp\",\"temperature\":\"33.0\",\"high_th\":\"85.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"90.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:00\"},{\"sensor\":\"PSU0 Inlet_Temp\",\"temperature\":\"32.0\",\"high_th\":\"66.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"70.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:00\"},{\"sensor\":\"PSU0 Outlet_Temp\",\"temperature\":\"34.5\",\"high_th\":\"85.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"90.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:00\"},{\"sensor\":\"PSU1 HSNK_Temp\",\"temperature\":\"33.25\",\"high_th\":\"85.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"90.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:00\"},{\"sensor\":\"PSU1 Inlet_Temp\",\"temperature\":\"30.75\",\"high_th\":\"66.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"70.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:00\"},{\"sensor\":\"PSU1 Outlet_Temp\",\"temperature\":\"33.5\",\"high_th\":\"85.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"90.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:01\"},{\"sensor\":\"SSD_Temp\",\"temperature\":\"29.0\",\"high_th\":\"75.0\",\"low_th\":\"0.0\",\"crit_high_th\":\"80.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"},{\"sensor\":\"X86_CORE_0_T\",\"temperature\":\"45.0\",\"high_th\":\"110.0\",\"low_th\":\"-5.0\",\"crit_high_th\":\"115.0\",\"crit_low_th\":\"-10.0\",\"warning\":\"False\",\"timestamp\":\"20260220 07:04:58\"}]"
    >
  >
>

root@str3-8102-01:/# gnmi_get -xpath_target SHOW -xpath platform/current -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "current"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771571161434350922
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "current"
      >
    >
    val: <
      json_ietf_val: "[{\"sensor\":\"CPU_U4_PVCCIN_IOUT\",\"current\":\"5125 mA\",\"high_th\":\"25000\",\"low_th\":\"N/A\",\"crit_high_th\":\"28600\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:03\"},{\"sensor\":\"CPU_U4_PVCCIN_P1V05_IIN\",\"current\":\"1146 mA\",\"high_th\":\"4400\",\"low_th\":\"N/A\",\"crit_high_th\":\"5500\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:03\"},{\"sensor\":\"CPU_U5_P1V2_IOUT\",\"current\":\"1343 mA\",\"high_th\":\"4000\",\"low_th\":\"N/A\",\"crit_high_th\":\"5500\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"CPU_U5_P1V05_IOUT\",\"current\":\"1464 mA\",\"high_th\":\"7000\",\"low_th\":\"N/A\",\"crit_high_th\":\"9900\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"FAN01_ISENSE\",\"current\":\"107 mA\",\"high_th\":\"1980\",\"low_th\":\"N/A\",\"crit_high_th\":\"5300\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:03\"},{\"sensor\":\"FAN23_ISENSE\",\"current\":\"105 mA\",\"high_th\":\"1980\",\"low_th\":\"N/A\",\"crit_high_th\":\"5300\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:03\"},{\"sensor\":\"FAN45_ISENSE\",\"current\":\"98 mA\",\"high_th\":\"1980\",\"low_th\":\"N/A\",\"crit_high_th\":\"5300\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"MB_U1_GB_CORE_L1_IIN\",\"current\":\"6132 mA\",\"high_th\":\"19000\",\"low_th\":\"N/A\",\"crit_high_th\":\"21000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"MB_U1_GB_CORE_L1_IOUT\",\"current\":\"96000 mA\",\"high_th\":\"247000\",\"low_th\":\"N/A\",\"crit_high_th\":\"285000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"MB_U1_GB_VDDA_L2_IOUT\",\"current\":\"19000 mA\",\"high_th\":\"47000\",\"low_th\":\"N/A\",\"crit_high_th\":\"54000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:05\"},{\"sensor\":\"MB_U1_GB_VDDCK_L2_IOUT\",\"current\":\"2320 mA\",\"high_th\":\"25000\",\"low_th\":\"N/A\",\"crit_high_th\":\"29000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:05\"},{\"sensor\":\"MB_U1_GB_VDDS_L1_IOUT\",\"current\":\"9218 mA\",\"high_th\":\"38000\",\"low_th\":\"N/A\",\"crit_high_th\":\"44000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"MB_U1_GB_VDDS_VDDA_IIN\",\"current\":\"3257 mA\",\"high_th\":\"8000\",\"low_th\":\"N/A\",\"crit_high_th\":\"9000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:05\"},{\"sensor\":\"MB_U1_P3V3_L_L1_IIN\",\"current\":\"732 mA\",\"high_th\":\"13000\",\"low_th\":\"N/A\",\"crit_high_th\":\"15000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:05\"},{\"sensor\":\"MB_U1_P3V3_L_L1_IOUT\",\"current\":\"640 mA\",\"high_th\":\"37000\",\"low_th\":\"N/A\",\"crit_high_th\":\"42000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:05\"},{\"sensor\":\"MB_U1_P3V3_R_GB_VDDCK_IIN\",\"current\":\"3187 mA\",\"high_th\":\"24000\",\"low_th\":\"N/A\",\"crit_high_th\":\"27000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:05\"},{\"sensor\":\"MB_U1_P3V3_R_L1_IOUT\",\"current\":\"5765 mA\",\"high_th\":\"61000\",\"low_th\":\"N/A\",\"crit_high_th\":\"77000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:05\"},{\"sensor\":\"MB_U97_12V_GB_INA_IOUT\",\"current\":\"24000 mA\",\"high_th\":\"38000\",\"low_th\":\"N/A\",\"crit_high_th\":\"40000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"MB_U97_12V_GEN_INA_IOUT\",\"current\":\"7196 mA\",\"high_th\":\"9800\",\"low_th\":\"N/A\",\"crit_high_th\":\"10200\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"MB_U97_12V_QSFP_L_INA_IOUT\",\"current\":\"36000 mA\",\"high_th\":\"38000\",\"low_th\":\"N/A\",\"crit_high_th\":\"40000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"},{\"sensor\":\"MB_U97_12V_QSFP_R_INA_IOUT\",\"current\":\"2980 mA\",\"high_th\":\"34000\",\"low_th\":\"N/A\",\"crit_high_th\":\"35000\",\"crit_low_th\":\"N/A\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:04\"}]"
    >
  >
>

root@str3-8102-01:/# gnmi_get -xpath_target SHOW -xpath platform/voltage -target_addr 127.0.0.1:50051 -logtostderr -insecure true
== getRequest:
prefix: <
  target: "SHOW"
>
path: <
  elem: <
    name: "platform"
  >
  elem: <
    name: "voltage"
  >
>
encoding: JSON_IETF

== getResponse:
notification: <
  timestamp: 1771571171624521888
  prefix: <
    target: "SHOW"
  >
  update: <
    path: <
      elem: <
        name: "platform"
      >
      elem: <
        name: "voltage"
      >
    >
    val: <
      json_ietf_val: "[{\"sensor\":\"CPU_U4_P1V05_VCCSUS_VOUT\",\"voltage\":\"1050 mV\",\"high_th\":\"1208\",\"low_th\":\"893\",\"crit_high_th\":\"1260\",\"crit_low_th\":\"840\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U4_P1V8_VCCIN_VOUT\",\"voltage\":\"1790 mV\",\"high_th\":\"2070\",\"low_th\":\"1530\",\"crit_high_th\":\"2160\",\"crit_low_th\":\"1440\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U4_P12V_VCCIN_VCCSUS_VIN\",\"voltage\":\"12046 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U5_12V_DIMM_VCCIN_VIN\",\"voltage\":\"12062 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U5_DIMM_P1V2_VOUT\",\"voltage\":\"1200 mV\",\"high_th\":\"1380\",\"low_th\":\"1020\",\"crit_high_th\":\"1440\",\"crit_low_th\":\"960\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U5_P1V05_PCH_VOUT\",\"voltage\":\"1050 mV\",\"high_th\":\"1208\",\"low_th\":\"893\",\"crit_high_th\":\"1260\",\"crit_low_th\":\"840\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U46_5V_VOUT\",\"voltage\":\"5049 mV\",\"high_th\":\"5750\",\"low_th\":\"4250\",\"crit_high_th\":\"6000\",\"crit_low_th\":\"4000\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:02\"},{\"sensor\":\"CPU_U46_12V_STBY_VIN\",\"voltage\":\"12256 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:59\"},{\"sensor\":\"CPU_U46_12V_VIN\",\"voltage\":\"12198 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:02\"},{\"sensor\":\"CPU_U46_P0V6_VTT_VOUT\",\"voltage\":\"603 mV\",\"high_th\":\"690\",\"low_th\":\"510\",\"crit_high_th\":\"720\",\"crit_low_th\":\"480\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U46_P1V2A_VOUT\",\"voltage\":\"1216 mV\",\"high_th\":\"1380\",\"low_th\":\"1020\",\"crit_high_th\":\"1440\",\"crit_low_th\":\"960\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:01\"},{\"sensor\":\"CPU_U46_P1V3_PVCCKRHV_VOUT\",\"voltage\":\"1313 mV\",\"high_th\":\"1495\",\"low_th\":\"1105\",\"crit_high_th\":\"1560\",\"crit_low_th\":\"1040\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:59\"},{\"sensor\":\"CPU_U46_P1V5_PCH_VOUT\",\"voltage\":\"1516 mV\",\"high_th\":\"1725\",\"low_th\":\"1275\",\"crit_high_th\":\"1800\",\"crit_low_th\":\"1200\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:02\"},{\"sensor\":\"CPU_U46_P1V7_PVCCFUSESUS_VOUT\",\"voltage\":\"1715 mV\",\"high_th\":\"1955\",\"low_th\":\"1445\",\"crit_high_th\":\"2040\",\"crit_low_th\":\"1360\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:00\"},{\"sensor\":\"CPU_U46_P2V5A_VOUT\",\"voltage\":\"2523 mV\",\"high_th\":\"2875\",\"low_th\":\"2125\",\"crit_high_th\":\"3000\",\"crit_low_th\":\"2000\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:01\"},{\"sensor\":\"CPU_U46_P2V5_VPP_VOUT\",\"voltage\":\"2522 mV\",\"high_th\":\"2875\",\"low_th\":\"2125\",\"crit_high_th\":\"3000\",\"crit_low_th\":\"2000\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:00\"},{\"sensor\":\"CPU_U46_P3V3A_VOUT\",\"voltage\":\"3314 mV\",\"high_th\":\"3795\",\"low_th\":\"2805\",\"crit_high_th\":\"3960\",\"crit_low_th\":\"2640\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:01\"},{\"sensor\":\"CPU_U46_P3V3_PCH_VOUT\",\"voltage\":\"3315 mV\",\"high_th\":\"3795\",\"low_th\":\"2805\",\"crit_high_th\":\"3960\",\"crit_low_th\":\"2640\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:59\"},{\"sensor\":\"CPU_U46_P3V3_SATA_VOUT\",\"voltage\":\"3326 mV\",\"high_th\":\"3795\",\"low_th\":\"2805\",\"crit_high_th\":\"3960\",\"crit_low_th\":\"2640\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:03\"},{\"sensor\":\"CPU_U46_P3V3_VOUT\",\"voltage\":\"3315 mV\",\"high_th\":\"3795\",\"low_th\":\"2805\",\"crit_high_th\":\"3960\",\"crit_low_th\":\"2640\",\"warning\":\"False\",\"timestamp\":\"20260220 07:06:00\"},{\"sensor\":\"MB_U1_GB_CORE_L1_VIN\",\"voltage\":\"12031 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:57\"},{\"sensor\":\"MB_U1_GB_CORE_L1_VOUT\",\"voltage\":\"720 mV\",\"high_th\":\"780\",\"low_th\":\"660\",\"crit_high_th\":\"790\",\"crit_low_th\":\"650\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:57\"},{\"sensor\":\"MB_U1_GB_VDDA_L2_VOUT\",\"voltage\":\"960 mV\",\"high_th\":\"1040\",\"low_th\":\"880\",\"crit_high_th\":\"1060\",\"crit_low_th\":\"860\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U1_GB_VDDCK_L2_VOUT\",\"voltage\":\"1150 mV\",\"high_th\":\"1240\",\"low_th\":\"1060\",\"crit_high_th\":\"1270\",\"crit_low_th\":\"1040\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U1_GB_VDDS_L1_VOUT\",\"voltage\":\"750 mV\",\"high_th\":\"860\",\"low_th\":\"640\",\"crit_high_th\":\"900\",\"crit_low_th\":\"600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U1_GB_VDDS_VDDA_VIN\",\"voltage\":\"12078 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U1_P3V3_L_L1_VIN\",\"voltage\":\"12062 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U1_P3V3_L_L1_VOUT\",\"voltage\":\"3360 mV\",\"high_th\":\"3630\",\"low_th\":\"3090\",\"crit_high_th\":\"3700\",\"crit_low_th\":\"3020\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U1_P3V3_R_GB_VDDCK_VIN\",\"voltage\":\"12062 mV\",\"high_th\":\"13800\",\"low_th\":\"10200\",\"crit_high_th\":\"14400\",\"crit_low_th\":\"9600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U1_P3V3_R_L1_VOUT\",\"voltage\":\"3360 mV\",\"high_th\":\"3630\",\"low_th\":\"3090\",\"crit_high_th\":\"3700\",\"crit_low_th\":\"3020\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:58\"},{\"sensor\":\"MB_U97_GB_P1V8_PLLVDD\",\"voltage\":\"1800 mV\",\"high_th\":\"2070\",\"low_th\":\"1530\",\"crit_high_th\":\"2160\",\"crit_low_th\":\"1440\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:56\"},{\"sensor\":\"MB_U97_GB_P1V8_VDDIO\",\"voltage\":\"1799 mV\",\"high_th\":\"2070\",\"low_th\":\"1530\",\"crit_high_th\":\"2160\",\"crit_low_th\":\"1440\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:56\"},{\"sensor\":\"MB_U97_GB_PCIE_VDDACK\",\"voltage\":\"750 mV\",\"high_th\":\"860\",\"low_th\":\"640\",\"crit_high_th\":\"900\",\"crit_low_th\":\"600\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:56\"},{\"sensor\":\"MB_U97_GB_PCIE_VDDH\",\"voltage\":\"1199 mV\",\"high_th\":\"1380\",\"low_th\":\"1020\",\"crit_high_th\":\"1440\",\"crit_low_th\":\"960\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:56\"},{\"sensor\":\"MB_U97_P1V2A_VOUT\",\"voltage\":\"1204 mV\",\"high_th\":\"1380\",\"low_th\":\"1020\",\"crit_high_th\":\"1440\",\"crit_low_th\":\"960\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:57\"},{\"sensor\":\"MB_U97_P1V8A_VOUT\",\"voltage\":\"1800 mV\",\"high_th\":\"2070\",\"low_th\":\"1530\",\"crit_high_th\":\"2160\",\"crit_low_th\":\"1440\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:57\"},{\"sensor\":\"MB_U97_P1VA_VOUT\",\"voltage\":\"1002 mV\",\"high_th\":\"1150\",\"low_th\":\"850\",\"crit_high_th\":\"1200\",\"crit_low_th\":\"800\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:57\"},{\"sensor\":\"MB_U97_P3V3A_VOUT\",\"voltage\":\"3278 mV\",\"high_th\":\"3800\",\"low_th\":\"2810\",\"crit_high_th\":\"3960\",\"crit_low_th\":\"2640\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:57\"},{\"sensor\":\"MB_U97_P3V3_VOUT\",\"voltage\":\"3299 mV\",\"high_th\":\"3800\",\"low_th\":\"2810\",\"crit_high_th\":\"3960\",\"crit_low_th\":\"2640\",\"warning\":\"False\",\"timestamp\":\"20260220 07:05:57\"}]"
    >
  >
>

root@str3-8102-01:/#


@Sreevanich16
Copy link
Copy Markdown
Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Deepak-Pandey
Deepak-Pandey previously approved these changes Mar 18, 2026
meghna-mishra
meghna-mishra previously approved these changes Mar 18, 2026
@Sreevanich16 Sreevanich16 changed the base branch from master to kubesonic April 1, 2026 06:04
@Sreevanich16 Sreevanich16 dismissed stale reviews from meghna-mishra and Deepak-Pandey April 1, 2026 06:04

The base branch was changed.

@Sreevanich16 Sreevanich16 changed the base branch from kubesonic to master April 1, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants