Skip to content

Commit

Permalink
[Arista] Update platform.json for 7260CX3-64 (#12757)
Browse files Browse the repository at this point in the history
Why I did it
Some sonic-mgmt platform_tests/api were failing on the 7260CX3-64

How I did it
Added the missing metadata in platform.json and platform_components.json
This is purely test data and does not impact our API implementation.

How to verify it
Run platform_tests/api and expect 100% passrate.
  • Loading branch information
Staphylo authored and StormLiangMS committed Dec 10, 2022
1 parent 309ea39 commit 9c80498
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 30 deletions.
83 changes: 53 additions & 30 deletions device/arista/x86_64-arista_7260cx3_64/platform.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
{
"chassis": {
"name": "DCS-7260CX3-64",
"components": [],
"components": [
{
"name": "Aboot()"
},
{
"name": "Scd(addr=0000:06:00.0)"
},
{
"name": "Scd(addr=0000:ff:0b.3)"
},
{
"name": "Ucd90160(addr=74-004e)"
},
{
"name": "Ucd90120A(addr=83-0034)"
},
{
"name": "RookSysCpld(addr=81-0023)"
}
],
"fans": [],
"fan_drawers": [
{
Expand Down Expand Up @@ -40,55 +59,59 @@
"psus": [
{
"name": "psu1",
"fans": []
"fans": [
{
"name": "psu1/1",
"speed": {
"controllable": false
}
}
]
},
{
"name": "psu2",
"fans": []
"fans": [
{
"name": "psu2/1",
"speed": {
"controllable": false
}
}
]
}
],
"thermals": [
{
"name": "Board sensor"
},
{
"name": "PCH temp sensor"
},
{
"name": "Physical id 0"
},
{
"name": "CPU core0 temp sensor"
},
{
"name": "CPU core1 temp sensor"
},
{
"name": "CPU board temp sensor"
},
{
"name": "Back-panel temp sensor"
"name": "Board sensor",
"controllable": false
},
{
"name": "Front-panel temp sensor"
"name": "PCH temp sensor",
"controllable": false
},
{
"name": "Power supply 1 hotspot sensor"
"name": "Physical id 0",
"controllable": false
},
{
"name": "Power supply 1 inlet temp sensor"
"name": "CPU core0 temp sensor",
"controllable": false
},
{
"name": "Power supply 1 exhaust temp sensor"
"name": "CPU core1 temp sensor",
"controllable": false
},
{
"name": "Power supply 2 hotspot sensor"
"name": "CPU board temp sensor",
"controllable": false
},
{
"name": "Power supply 2 inlet temp sensor"
"name": "Back-panel temp sensor",
"controllable": false
},
{
"name": "Power supply 2 exhaust temp sensor"
"name": "Front-panel temp sensor",
"controllable": false
}
],
"sfps": [
Expand Down Expand Up @@ -1528,4 +1551,4 @@
}
}
}
}
}
14 changes: 14 additions & 0 deletions device/arista/x86_64-arista_7260cx3_64/platform_components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"chassis": {
"DCS-7260CX3-64": {
"component": {
"Aboot()": {},
"Scd(addr=0000:06:00.0)": {},
"Scd(addr=0000:ff:0b.3)": {},
"Ucd90160(addr=74-004e)": {},
"Ucd90120A(addr=83-0034)": {},
"RookSysCpld(addr=81-0023)": {}
}
}
}
}

0 comments on commit 9c80498

Please sign in to comment.