From 0afc480b046a13501a4638198132961ab3225495 Mon Sep 17 00:00:00 2001 From: Samuel Angebault Date: Mon, 21 Nov 2022 03:22:31 -0800 Subject: [PATCH] [Arista] Update platform.json for 7060CX-32S --- .../platform_components.json | 2 +- .../x86_64-arista_7060_cx32s/platform.json | 77 ++++++++++++------- .../platform_components.json | 13 ++++ 3 files changed, 62 insertions(+), 30 deletions(-) create mode 100644 device/arista/x86_64-arista_7060_cx32s/platform_components.json diff --git a/device/arista/x86_64-arista_7050cx3_32s/platform_components.json b/device/arista/x86_64-arista_7050cx3_32s/platform_components.json index 0d30d1b13e1b..6fdd182db485 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/platform_components.json +++ b/device/arista/x86_64-arista_7050cx3_32s/platform_components.json @@ -3,7 +3,7 @@ "DCS-7050CX3-32S": { "component": { "Aboot()": {}, - "Scd(addr=0000:00:18.7)": {}, + "Scd(addr=0000:02:00.0)": {}, "Ucd90120A(addr=3-004e)": {}, "Ucd90120A(addr=16-004e)": {}, "CrowSysCpld(addr=2-0023)": {} diff --git a/device/arista/x86_64-arista_7060_cx32s/platform.json b/device/arista/x86_64-arista_7060_cx32s/platform.json index 92c0d40a3758..f322ac0aab87 100644 --- a/device/arista/x86_64-arista_7060_cx32s/platform.json +++ b/device/arista/x86_64-arista_7060_cx32s/platform.json @@ -1,7 +1,23 @@ { "chassis": { "name": "DCS-7060CX-32S", - "components": [], + "components": [ + { + "name": "Aboot()" + }, + { + "name": "Scd(addr=0000:02:00.0)" + }, + { + "name": "Ucd90120A(addr=4-004e)" + }, + { + "name": "Ucd90120A(addr=8-004e)" + }, + { + "name": "CrowSysCpld(addr=2-0023)" + } + ], "fans": [], "fan_drawers": [ { @@ -40,52 +56,55 @@ "psus": [ { "name": "psu1", - "fans": [] + "fans": [ + { + "name": "psu1/1", + "speed": { + "controllable": false + } + } + ] }, { "name": "psu2", - "fans": [] + "fans": [ + { + "name": "psu2/1", + "speed": { + "controllable": false + } + } + ] } ], "thermals": [ { - "name": "Cpu temp sensor" - }, - { - "name": "Cpu board temp sensor" - }, - { - "name": "Back-panel temp sensor" - }, - { - "name": "Board sensor" - }, - { - "name": "Switch chip left sensor" - }, - { - "name": "Switch chip right sensor" - }, - { - "name": "Front-panel temp sensor" + "name": "Cpu temp sensor", + "controllable": false }, { - "name": "Power supply 1 hotspot sensor" + "name": "Cpu board temp sensor", + "controllable": false }, { - "name": "Power supply 1 inlet temp sensor" + "name": "Back-panel temp sensor", + "controllable": false }, { - "name": "Power supply 1 exhaust temp sensor" + "name": "Board sensor", + "controllable": false }, { - "name": "Power supply 2 hotspot sensor" + "name": "Switch chip left sensor", + "controllable": false }, { - "name": "Power supply 2 inlet temp sensor" + "name": "Switch chip right sensor", + "controllable": false }, { - "name": "Power supply 2 exhaust temp sensor" + "name": "Front-panel temp sensor", + "controllable": false } ], "sfps": [ @@ -821,4 +840,4 @@ } } } -} \ No newline at end of file +} diff --git a/device/arista/x86_64-arista_7060_cx32s/platform_components.json b/device/arista/x86_64-arista_7060_cx32s/platform_components.json new file mode 100644 index 000000000000..d7647e359b86 --- /dev/null +++ b/device/arista/x86_64-arista_7060_cx32s/platform_components.json @@ -0,0 +1,13 @@ +{ + "chassis": { + "DCS-7050CX3-32S": { + "component": { + "Aboot()": {}, + "Scd(addr=0000:02:00.0)": {}, + "Ucd90120A(addr=4-004e)": {}, + "Ucd90120A(addr=8-004e)": {}, + "CrowSysCpld(addr=2-0023)": {} + } + } + } +}