From 030551ba273cbc57973b4e7e8c2206a67e3108b7 Mon Sep 17 00:00:00 2001 From: dflynn-Nokia <60479697+dflynn-Nokia@users.noreply.github.com> Date: Tue, 26 Oct 2021 21:56:46 -0400 Subject: [PATCH] [Nokia ixs7215] Add new platform capabilities to platform.json (#9032) This commit more fully declares the HW capabilities of the Nokia-7215 platform. For example, support for the threshold values associated with each thermal sensor is described. The intent here is to inform the sonic-mgmt platform test cases of which HW features are supported. This commit must align with PR# 4521 within the sonic-mgmt git repo which is currently under review. Any changes to that PR will need to be reflected in this commit. --- .../armhf-nokia_ixs7215_52x-r0/platform.json | 190 ++++++++++++------ 1 file changed, 124 insertions(+), 66 deletions(-) diff --git a/device/nokia/armhf-nokia_ixs7215_52x-r0/platform.json b/device/nokia/armhf-nokia_ixs7215_52x-r0/platform.json index d6a28d19b026..4f4585b1e4de 100644 --- a/device/nokia/armhf-nokia_ixs7215_52x-r0/platform.json +++ b/device/nokia/armhf-nokia_ixs7215_52x-r0/platform.json @@ -11,15 +11,28 @@ ], "fans": [ { - "name": "Fan1" + "name": "Fan1", + "status_led": { + "controllable": true, + "colors": ["red", "green"] + } }, { - "name": "Fan2" + "name": "Fan2", + "status_led": { + "controllable": true, + "colors": ["red", "green"] + } } - ], - "fan_drawers": [ + ], + "fan_drawers": [ { "name": "drawer1", + "status_led": { + "controllable": true, + "colors": ["red", "green"] + }, + "max_consumed_power": false, "fans": [ { "name": "Fan1" @@ -28,6 +41,11 @@ }, { "name": "drawer2", + "status_led": { + "controllable": true, + "colors": ["red", "green"] + }, + "max_consumed_power": false, "fans": [ { "name": "Fan2" @@ -35,192 +53,232 @@ ] } ], - "psus": [ + "psus": [ { - "name": "PSU1" + "name": "PSU1", + "status_led": { + "controllable": false + }, + "current": false, + "power": false, + "max_power": false, + "voltage_high_threshold": false, + "voltage_low_threshold": false, + "temperature": false }, { - "name": "PSU2" + "name": "PSU2", + "status_led": { + "controllable": false + }, + "current": false, + "power": false, + "max_power": false, + "voltage_high_threshold": false, + "voltage_low_threshold": false, + "temperature": false } ], "thermals": [ { - "name": "PCB PHY" + "name": "PCB PHY", + "controllable": false, + "low-threshold": false, + "low-crit-threshold": false, + "high-crit-threshold": false }, { - "name": "PCB MAC" + "name": "PCB MAC", + "controllable": false, + "low-threshold": false, + "low-crit-threshold": false, + "high-crit-threshold": false }, { - "name": "ADT7473-CPU" + "name": "ADT7473-CPU", + "controllable": false, + "low-threshold": false, + "low-crit-threshold": false }, { - "name": "ADT7473-LOC" + "name": "ADT7473-LOC", + "controllable": false, + "low-threshold": false, + "low-crit-threshold": false }, { - "name": "ADT7473-MAC" + "name": "ADT7473-MAC", + "controllable": false, + "low-threshold": false, + "low-crit-threshold": false }, { - "name": "CPU Core" + "name": "CPU Core", + "controllable": false, + "low-threshold": false, + "high-threshold": false, + "low-crit-threshold": false, + "high-crit-threshold": false } ], - "sfps": [ + "sfps": [ { "name": "Ethernet0" }, - { + { "name": "Ethernet1" }, - { + { "name": "Ethernet2" }, - { + { "name": "Ethernet3" }, - { + { "name": "Ethernet4" }, - { + { "name": "Ethernet5" }, - { + { "name": "Ethernet6" }, - { + { "name": "Ethernet7" }, - { + { "name": "Ethernet8" }, - { + { "name": "Ethernet9" }, - { + { "name": "Ethernet10" }, - { + { "name": "Ethernet11" }, - { + { "name": "Ethernet12" }, - { + { "name": "Ethernet13" }, - { + { "name": "Ethernet14" }, - { + { "name": "Ethernet15" }, - { + { "name": "Ethernet16" }, - { + { "name": "Ethernet17" }, - { + { "name": "Ethernet18" }, - { + { "name": "Ethernet19" }, - { + { "name": "Ethernet20" }, - { + { "name": "Ethernet21" }, - { + { "name": "Ethernet22" }, - { + { "name": "Ethernet23" }, - { + { "name": "Ethernet24" }, - { + { "name": "Ethernet25" }, - { + { "name": "Ethernet26" }, - { + { "name": "Ethernet27" }, - { + { "name": "Ethernet28" }, - { + { "name": "Ethernet29" }, - { + { "name": "Ethernet30" }, - { + { "name": "Ethernet31" }, - { + { "name": "Ethernet32" }, - { + { "name": "Ethernet33" }, - { + { "name": "Ethernet34" }, - { + { "name": "Ethernet35" }, - { + { "name": "Ethernet36" }, - { + { "name": "Ethernet37" }, - { + { "name": "Ethernet38" }, - { + { "name": "Ethernet39" }, - { + { "name": "Ethernet40" }, - { + { "name": "Ethernet41" }, - { + { "name": "Ethernet42" }, - { + { "name": "Ethernet43" }, - { + { "name": "Ethernet44" }, - { + { "name": "Ethernet45" }, - { + { "name": "Ethernet46" }, - { + { "name": "Ethernet47" }, - { + { "name": "Ethernet48" }, - { + { "name": "Ethernet49" }, - { + { "name": "Ethernet50" }, - { + { "name": "Ethernet51" } - ] + ] }, "interfaces": {} }