[Arista] Update platform.json for 7060CX-32S (#12783)

Why I did it
Some sonic-mgmt platform_tests/api were failing on the 7060CX-32S

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% pass rate.
This commit is contained in:
Samuel Angebault 2022-11-21 18:19:24 +01:00 committed by GitHub
parent 77b1be773d
commit b05d2e3729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 30 deletions

View File

@ -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)": {}

View File

@ -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 temp sensor",
"controllable": false
},
{
"name": "Cpu board temp sensor"
"name": "Cpu board temp sensor",
"controllable": false
},
{
"name": "Back-panel temp sensor"
"name": "Back-panel temp sensor",
"controllable": false
},
{
"name": "Board sensor"
"name": "Board sensor",
"controllable": false
},
{
"name": "Switch chip left sensor"
"name": "Switch chip left sensor",
"controllable": false
},
{
"name": "Switch chip right sensor"
"name": "Switch chip right sensor",
"controllable": false
},
{
"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"
"name": "Front-panel temp sensor",
"controllable": false
}
],
"sfps": [
@ -821,4 +840,4 @@
}
}
}
}
}

View File

@ -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)": {}
}
}
}
}