[Arista] Update platform.json for 7260CX3-64 (#12757)

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.
This commit is contained in:
Samuel Angebault 2022-11-19 21:45:37 +01:00 committed by GitHub
parent 4be5f1ed31
commit 46bd5f695c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 67 additions and 30 deletions

View File

@ -1,7 +1,26 @@
{ {
"chassis": { "chassis": {
"name": "DCS-7260CX3-64", "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": [], "fans": [],
"fan_drawers": [ "fan_drawers": [
{ {
@ -40,55 +59,59 @@
"psus": [ "psus": [
{ {
"name": "psu1", "name": "psu1",
"fans": [] "fans": [
{
"name": "psu1/1",
"speed": {
"controllable": false
}
}
]
}, },
{ {
"name": "psu2", "name": "psu2",
"fans": [] "fans": [
{
"name": "psu2/1",
"speed": {
"controllable": false
}
}
]
} }
], ],
"thermals": [ "thermals": [
{ {
"name": "Board sensor" "name": "Board sensor",
"controllable": false
}, },
{ {
"name": "PCH temp sensor" "name": "PCH temp sensor",
"controllable": false
}, },
{ {
"name": "Physical id 0" "name": "Physical id 0",
"controllable": false
}, },
{ {
"name": "CPU core0 temp sensor" "name": "CPU core0 temp sensor",
"controllable": false
}, },
{ {
"name": "CPU core1 temp sensor" "name": "CPU core1 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": "Front-panel temp sensor" "name": "Front-panel temp sensor",
}, "controllable": false
{
"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": [ "sfps": [
@ -1528,4 +1551,4 @@
} }
} }
} }
} }

View File

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