From 2b36f8106336cba6e1a38f8207bd85e1636eca23 Mon Sep 17 00:00:00 2001 From: andywongarista <78833093+andywongarista@users.noreply.github.com> Date: Thu, 6 Oct 2022 08:05:46 -0700 Subject: [PATCH] [202205][Arista] Fix content of platform.json for DCS-7050CX3-32S (#12265) * Fix platform.json for 7050cx3 * Add platform_components.json --- .../x86_64-arista_7050cx3_32s/platform.json | 56 +++++++++++-------- .../platform_components.json | 13 +++++ 2 files changed, 47 insertions(+), 22 deletions(-) create mode 100644 device/arista/x86_64-arista_7050cx3_32s/platform_components.json diff --git a/device/arista/x86_64-arista_7050cx3_32s/platform.json b/device/arista/x86_64-arista_7050cx3_32s/platform.json index 6a417e320e6c..42d41992d0ef 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/platform.json +++ b/device/arista/x86_64-arista_7050cx3_32s/platform.json @@ -1,7 +1,23 @@ { "chassis": { "name": "DCS-7050CX3-32S", - "components": [], + "components": [ + { + "name": "Aboot()" + }, + { + "name": "Scd(addr=0000:02:00.0)" + }, + { + "name": "Ucd90120A(addr=3-004e)" + }, + { + "name": "Ucd90120A(addr=16-004e)" + }, + { + "name": "CrowSysCpld(addr=2-0023)" + } + ], "fans": [], "fan_drawers": [ { @@ -40,11 +56,25 @@ "psus": [ { "name": "psu1", - "fans": [] + "fans": [ + { + "name": "psu1/1", + "speed": { + "controllable": false + } + } + ] }, { "name": "psu2", - "fans": [] + "fans": [ + { + "name": "psu2/1", + "speed": { + "controllable": false + } + } + ] } ], "thermals": [ @@ -62,24 +92,6 @@ }, { "name": "Front-panel temp sensor" - }, - { - "name": "Power supply 1 hotspot sensor" - }, - { - "name": "Power supply 1 inlet temp sensor" - }, - { - "name": "Power supply 1 exhaust temp sensor" - }, - { - "name": "Power supply 2 hotspot sensor" - }, - { - "name": "Power supply 2 inlet temp sensor" - }, - { - "name": "Power supply 2 exhaust temp sensor" } ], "sfps": [ @@ -815,4 +827,4 @@ } } } -} \ No newline at end of file +} diff --git a/device/arista/x86_64-arista_7050cx3_32s/platform_components.json b/device/arista/x86_64-arista_7050cx3_32s/platform_components.json new file mode 100644 index 000000000000..0d30d1b13e1b --- /dev/null +++ b/device/arista/x86_64-arista_7050cx3_32s/platform_components.json @@ -0,0 +1,13 @@ +{ + "chassis": { + "DCS-7050CX3-32S": { + "component": { + "Aboot()": {}, + "Scd(addr=0000:00:18.7)": {}, + "Ucd90120A(addr=3-004e)": {}, + "Ucd90120A(addr=16-004e)": {}, + "CrowSysCpld(addr=2-0023)": {} + } + } + } +}