b0782fb17e
- Why I did it To fix failed test cases of Haliburton platform APIs that found on platform_tests script - How I did it Add device/celestica/x86_64-cel_e1031-r0/platform.json Update functions to support python3.7 Add more functions follow latest sonic_platform_base Fix the bug - How to verify it Run platform_tests script Signed-off-by: Wirut Getbamrung [wgetbumr@celestica.com]
758 lines
17 KiB
JSON
758 lines
17 KiB
JSON
{
|
|
"chassis": {
|
|
"name": "Celestica-E1031-T48S4",
|
|
"components": [
|
|
{
|
|
"name": "SMC_CPLD"
|
|
},
|
|
{
|
|
"name": "MMC_CPLD"
|
|
},
|
|
{
|
|
"name": "BIOS"
|
|
}
|
|
],
|
|
"fans": [
|
|
{
|
|
"name": "FAN-1"
|
|
},
|
|
{
|
|
"name": "FAN-2"
|
|
},
|
|
{
|
|
"name": "FAN-3"
|
|
}
|
|
],
|
|
"fan_drawers": [
|
|
{
|
|
"name": "Drawer1",
|
|
"fans": [
|
|
{
|
|
"name": "FAN-1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Drawer2",
|
|
"fans": [
|
|
{
|
|
"name": "FAN-2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Drawer3",
|
|
"fans": [
|
|
{
|
|
"name": "FAN-3"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"psus": [
|
|
{
|
|
"name": "PSU-R",
|
|
"fans": [
|
|
{
|
|
"name": "PSU-1 FAN-1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "PSU-L",
|
|
"fans": [
|
|
{
|
|
"name": "PSU-2 FAN-1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "Inlet ambient sensor (Rear to Front)"
|
|
},
|
|
{
|
|
"name": "Helix shutdown sensor (Rear to Front)"
|
|
},
|
|
{
|
|
"name": "Inlet ambient sensor (Front to Rear, right)"
|
|
},
|
|
{
|
|
"name": "Helix shutdown sensor (Front to Rear)"
|
|
},
|
|
{
|
|
"name": "Inlet ambient sensor (Front to Rear, left)"
|
|
},
|
|
{
|
|
"name": "CPU errata sensor (Front to Rear)"
|
|
},
|
|
{
|
|
"name": "CPU errata sensor (Rear to Front)"
|
|
}
|
|
],
|
|
"sfps": [
|
|
{
|
|
"name": "Ethernet54"
|
|
},
|
|
{
|
|
"name": "Ethernet0"
|
|
},
|
|
{
|
|
"name": "Ethernet1"
|
|
},
|
|
{
|
|
"name": "Ethernet2"
|
|
},
|
|
{
|
|
"name": "Ethernet3"
|
|
},
|
|
{
|
|
"name": "Ethernet4"
|
|
},
|
|
{
|
|
"name": "Ethernet5"
|
|
},
|
|
{
|
|
"name": "Ethernet6"
|
|
},
|
|
{
|
|
"name": "Ethernet7"
|
|
},
|
|
{
|
|
"name": "Ethernet8"
|
|
},
|
|
{
|
|
"name": "Ethernet9"
|
|
},
|
|
{
|
|
"name": "Ethernet10"
|
|
},
|
|
{
|
|
"name": "Ethernet11"
|
|
},
|
|
{
|
|
"name": "Ethernet12"
|
|
},
|
|
{
|
|
"name": "Ethernet13"
|
|
},
|
|
{
|
|
"name": "Ethernet14"
|
|
},
|
|
{
|
|
"name": "Ethernet15"
|
|
},
|
|
{
|
|
"name": "Ethernet16"
|
|
},
|
|
{
|
|
"name": "Ethernet17"
|
|
},
|
|
{
|
|
"name": "Ethernet18"
|
|
},
|
|
{
|
|
"name": "Ethernet19"
|
|
},
|
|
{
|
|
"name": "Ethernet20"
|
|
},
|
|
{
|
|
"name": "Ethernet21"
|
|
},
|
|
{
|
|
"name": "Ethernet22"
|
|
},
|
|
{
|
|
"name": "Ethernet23"
|
|
},
|
|
{
|
|
"name": "Ethernet24"
|
|
},
|
|
{
|
|
"name": "Ethernet25"
|
|
},
|
|
{
|
|
"name": "Ethernet26"
|
|
},
|
|
{
|
|
"name": "Ethernet27"
|
|
},
|
|
{
|
|
"name": "Ethernet28"
|
|
},
|
|
{
|
|
"name": "Ethernet29"
|
|
},
|
|
{
|
|
"name": "Ethernet30"
|
|
},
|
|
{
|
|
"name": "Ethernet31"
|
|
},
|
|
{
|
|
"name": "Ethernet32"
|
|
},
|
|
{
|
|
"name": "Ethernet33"
|
|
},
|
|
{
|
|
"name": "Ethernet34"
|
|
},
|
|
{
|
|
"name": "Ethernet35"
|
|
},
|
|
{
|
|
"name": "Ethernet36"
|
|
},
|
|
{
|
|
"name": "Ethernet37"
|
|
},
|
|
{
|
|
"name": "Ethernet38"
|
|
},
|
|
{
|
|
"name": "Ethernet39"
|
|
},
|
|
{
|
|
"name": "Ethernet40"
|
|
},
|
|
{
|
|
"name": "Ethernet41"
|
|
},
|
|
{
|
|
"name": "Ethernet42"
|
|
},
|
|
{
|
|
"name": "Ethernet43"
|
|
},
|
|
{
|
|
"name": "Ethernet44"
|
|
},
|
|
{
|
|
"name": "Ethernet45"
|
|
},
|
|
{
|
|
"name": "Ethernet46"
|
|
},
|
|
{
|
|
"name": "Ethernet47"
|
|
},
|
|
{
|
|
"name": "Ethernet48"
|
|
},
|
|
{
|
|
"name": "Ethernet49"
|
|
},
|
|
{
|
|
"name": "Ethernet50"
|
|
},
|
|
{
|
|
"name": "Ethernet51"
|
|
},
|
|
{
|
|
"name": "Ethernet52"
|
|
},
|
|
{
|
|
"name": "Ethernet53"
|
|
}
|
|
]
|
|
},
|
|
"interfaces": {
|
|
"Ethernet0": {
|
|
"index": "1",
|
|
"lanes": "2",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp1"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet1": {
|
|
"index": "2",
|
|
"lanes": "1",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp2"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet2": {
|
|
"index": "3",
|
|
"lanes": "4",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp3"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet3": {
|
|
"index": "4",
|
|
"lanes": "3",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp4"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet4": {
|
|
"index": "5",
|
|
"lanes": "6",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp5"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet5": {
|
|
"index": "6",
|
|
"lanes": "5",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp6"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet6": {
|
|
"index": "7",
|
|
"lanes": "8",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp7"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet7": {
|
|
"index": "8",
|
|
"lanes": "7",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp8"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet8": {
|
|
"index": "9",
|
|
"lanes": "10",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp9"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet9": {
|
|
"index": "10",
|
|
"lanes": "9",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp10"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet10": {
|
|
"index": "11",
|
|
"lanes": "12",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp11"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet11": {
|
|
"index": "12",
|
|
"lanes": "11",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp12"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet12": {
|
|
"index": "13",
|
|
"lanes": "14",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp13"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet13": {
|
|
"index": "14",
|
|
"lanes": "13",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp14"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet14": {
|
|
"index": "15",
|
|
"lanes": "16",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp15"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet15": {
|
|
"index": "16",
|
|
"lanes": "15",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp16"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet16": {
|
|
"index": "17",
|
|
"lanes": "18",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp17"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet17": {
|
|
"index": "18",
|
|
"lanes": "17",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp18"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet18": {
|
|
"index": "19",
|
|
"lanes": "20",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp19"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet19": {
|
|
"index": "20",
|
|
"lanes": "19",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp20"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet20": {
|
|
"index": "21",
|
|
"lanes": "22",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp21"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet21": {
|
|
"index": "22",
|
|
"lanes": "21",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp22"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet22": {
|
|
"index": "23",
|
|
"lanes": "24",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp23"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet23": {
|
|
"index": "24",
|
|
"lanes": "23",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp24"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet24": {
|
|
"index": "25",
|
|
"lanes": "26",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp25"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet25": {
|
|
"index": "26",
|
|
"lanes": "25",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp26"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet26": {
|
|
"index": "27",
|
|
"lanes": "28",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp27"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet27": {
|
|
"index": "28",
|
|
"lanes": "27",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp28"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet28": {
|
|
"index": "29",
|
|
"lanes": "30",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp29"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet29": {
|
|
"index": "30",
|
|
"lanes": "29",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp30"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet30": {
|
|
"index": "31",
|
|
"lanes": "32",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp31"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet31": {
|
|
"index": "32",
|
|
"lanes": "31",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp32"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet32": {
|
|
"index": "33",
|
|
"lanes": "34",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp33"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet33": {
|
|
"index": "34",
|
|
"lanes": "33",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp34"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet34": {
|
|
"index": "35",
|
|
"lanes": "36",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp35"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet35": {
|
|
"index": "36",
|
|
"lanes": "35",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp36"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet36": {
|
|
"index": "37",
|
|
"lanes": "38",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp37"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet37": {
|
|
"index": "38",
|
|
"lanes": "37",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp38"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet38": {
|
|
"index": "39",
|
|
"lanes": "40",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp39"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet39": {
|
|
"index": "40",
|
|
"lanes": "39",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp40"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet40": {
|
|
"index": "41",
|
|
"lanes": "42",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp41"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet41": {
|
|
"index": "42",
|
|
"lanes": "41",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp42"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet42": {
|
|
"index": "43",
|
|
"lanes": "44",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp43"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet43": {
|
|
"index": "44",
|
|
"lanes": "43",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp44"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet44": {
|
|
"index": "45",
|
|
"lanes": "46",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp45"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet45": {
|
|
"index": "46",
|
|
"lanes": "45",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp46"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet46": {
|
|
"index": "47",
|
|
"lanes": "48",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp47"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet47": {
|
|
"index": "48",
|
|
"lanes": "47",
|
|
"breakout_modes": {
|
|
"1x1G": [
|
|
"etp48"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet48": {
|
|
"index": "49",
|
|
"lanes": "48",
|
|
"breakout_modes": {
|
|
"1x10G": [
|
|
"etp49"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet49": {
|
|
"index": "50",
|
|
"lanes": "53",
|
|
"breakout_modes": {
|
|
"1x10G": [
|
|
"etp50"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet50": {
|
|
"index": "51",
|
|
"lanes": "56",
|
|
"breakout_modes": {
|
|
"1x10G": [
|
|
"etp51"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet51": {
|
|
"index": "52",
|
|
"lanes": "55",
|
|
"breakout_modes": {
|
|
"1x10G": [
|
|
"etp52"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet52": {
|
|
"index": "53",
|
|
"lanes": "49",
|
|
"breakout_modes": {
|
|
"1x10G": [
|
|
"etp53"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet53": {
|
|
"index": "54,54,54,54",
|
|
"lanes": "57,58,59,60 ",
|
|
"breakout_modes": {
|
|
"1x10G": [
|
|
"etp54"
|
|
]
|
|
}
|
|
},
|
|
"Ethernet54": {
|
|
"index": "55,55,55,55",
|
|
"lanes": "61,62,63,64",
|
|
"breakout_modes": {
|
|
"1x10G": [
|
|
"etp55"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} |