Skip to content

Commit

Permalink
[202205][Arista] Fix content of platform.json for DCS-7050CX3-32S (#1…
Browse files Browse the repository at this point in the history
…2265)

* Fix platform.json for 7050cx3

* Add platform_components.json
  • Loading branch information
andywongarista authored Oct 6, 2022
1 parent 47e3cc7 commit 2b36f81
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 22 deletions.
56 changes: 34 additions & 22 deletions device/arista/x86_64-arista_7050cx3_32s/platform.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand Down Expand Up @@ -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": [
Expand All @@ -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": [
Expand Down Expand Up @@ -815,4 +827,4 @@
}
}
}
}
}
13 changes: 13 additions & 0 deletions device/arista/x86_64-arista_7050cx3_32s/platform_components.json
Original file line number Diff line number Diff line change
@@ -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)": {}
}
}
}
}

0 comments on commit 2b36f81

Please sign in to comment.