76a5c75b82
- Why I did it Advance hw-mgmt service to V.7.0020.4100 Add missing thermal sensors that are supported by hw-mgmt package Delay system health service before hw-mgmt has started on Mellanox platform in order to avoid reading some sensors before ready. Depends on sonic-net/sonic-linux-kernel#305 - How I did it 1. Update hw mgmt version 2. Add missing sensors 3. Delay service - How to verify it Regression test. Signed-off-by: Stephen Sun <stephens@nvidia.com>
508 lines
12 KiB
JSON
508 lines
12 KiB
JSON
{
|
|
"chassis": {
|
|
"name": "SN2201",
|
|
"components": [{
|
|
"name": "ONIE"
|
|
},
|
|
{
|
|
"name": "SSD"
|
|
},
|
|
{
|
|
"name": "BIOS"
|
|
},
|
|
{
|
|
"name": "CPLD1"
|
|
},
|
|
{
|
|
"name": "CPLD2"
|
|
}
|
|
],
|
|
"fans": [],
|
|
"fan_drawers": [
|
|
{
|
|
"name": "drawer1",
|
|
"fans": [
|
|
{
|
|
"name": "fan1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "drawer2",
|
|
"fans": [
|
|
{
|
|
"name": "fan2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "drawer3",
|
|
"fans": [
|
|
{
|
|
"name": "fan3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "drawer4",
|
|
"fans": [
|
|
{
|
|
"name": "fan4"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"psus": [
|
|
{
|
|
"name": "PSU 1",
|
|
"fans": [
|
|
{
|
|
"name": "psu1_fan1"
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "PSU-1 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "PSU 2",
|
|
"fans": [
|
|
{
|
|
"name": "psu2_fan1"
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "PSU-2 Temp"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "Ambient Port Side Temp"
|
|
},
|
|
{
|
|
"name": "Ambient Fan Side Temp"
|
|
},
|
|
{
|
|
"name": "Ambient CPU Board Temp"
|
|
},
|
|
{
|
|
"name": "CPU Pack Temp"
|
|
},
|
|
{
|
|
"name": "CPU Core 0 Temp"
|
|
},
|
|
{
|
|
"name": "CPU Core 1 Temp"
|
|
},
|
|
{
|
|
"name": "ASIC"
|
|
},
|
|
{
|
|
"name": "SODIMM 1 Temp"
|
|
}
|
|
],
|
|
"sfps": [{
|
|
"name": "sfp1",
|
|
"thermals": [{
|
|
"name": "xSFP module 1 Temp"
|
|
}]
|
|
},
|
|
{
|
|
"name": "sfp2",
|
|
"thermals": [{
|
|
"name": "xSFP module 2 Temp"
|
|
}]
|
|
},
|
|
{
|
|
"name": "sfp3",
|
|
"thermals": [{
|
|
"name": "xSFP module 3 Temp"
|
|
}]
|
|
},
|
|
{
|
|
"name": "sfp4",
|
|
"thermals": [{
|
|
"name": "xSFP module 4 Temp"
|
|
}]
|
|
}
|
|
]
|
|
},
|
|
"interfaces": {
|
|
"Ethernet0": {
|
|
"index": "1",
|
|
"lanes": "0",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp1"]
|
|
}
|
|
},
|
|
"Ethernet1": {
|
|
"index": "2",
|
|
"lanes": "4",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp2"]
|
|
}
|
|
},
|
|
"Ethernet2": {
|
|
"index": "3",
|
|
"lanes": "8",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp3"]
|
|
}
|
|
},
|
|
"Ethernet3": {
|
|
"index": "4",
|
|
"lanes": "12",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp4"]
|
|
}
|
|
},
|
|
"Ethernet4": {
|
|
"index": "5",
|
|
"lanes": "16",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp5"]
|
|
}
|
|
},
|
|
"Ethernet5": {
|
|
"index": "6",
|
|
"lanes": "20",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp6"]
|
|
}
|
|
},
|
|
"Ethernet6": {
|
|
"index": "7",
|
|
"lanes": "24",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp7"]
|
|
}
|
|
},
|
|
"Ethernet7": {
|
|
"index": "8",
|
|
"lanes": "28",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp8"]
|
|
}
|
|
},
|
|
|
|
"Ethernet8": {
|
|
"index": "9",
|
|
"lanes": "32",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp9"]
|
|
}
|
|
},
|
|
"Ethernet9": {
|
|
"index": "10",
|
|
"lanes": "36",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp10"]
|
|
}
|
|
},
|
|
"Ethernet10": {
|
|
"index": "11",
|
|
"lanes": "40",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp11"]
|
|
}
|
|
},
|
|
"Ethernet11": {
|
|
"index": "12",
|
|
"lanes": "44",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp12"]
|
|
}
|
|
},
|
|
"Ethernet12": {
|
|
"index": "13",
|
|
"lanes": "48",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp13"]
|
|
}
|
|
},
|
|
"Ethernet13": {
|
|
"index": "14",
|
|
"lanes": "52",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp14"]
|
|
}
|
|
},
|
|
"Ethernet14": {
|
|
"index": "15",
|
|
"lanes": "56",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp15"]
|
|
}
|
|
},
|
|
"Ethernet15": {
|
|
"index": "16",
|
|
"lanes": "60",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp16"]
|
|
}
|
|
},
|
|
|
|
"Ethernet16": {
|
|
"index": "17",
|
|
"lanes": "64",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp17"]
|
|
}
|
|
},
|
|
"Ethernet17": {
|
|
"index": "18",
|
|
"lanes": "68",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp18"]
|
|
}
|
|
},
|
|
"Ethernet18": {
|
|
"index": "19",
|
|
"lanes": "72",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp19"]
|
|
}
|
|
},
|
|
"Ethernet19": {
|
|
"index": "20",
|
|
"lanes": "76",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp20"]
|
|
}
|
|
},
|
|
"Ethernet20": {
|
|
"index": "21",
|
|
"lanes": "80",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp21"]
|
|
}
|
|
},
|
|
"Ethernet21": {
|
|
"index": "22",
|
|
"lanes": "84",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp22"]
|
|
}
|
|
},
|
|
"Ethernet22": {
|
|
"index": "23",
|
|
"lanes": "88",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp23"]
|
|
}
|
|
},
|
|
"Ethernet23": {
|
|
"index": "24",
|
|
"lanes": "92",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp24"]
|
|
}
|
|
},
|
|
"Ethernet24": {
|
|
"index": "25",
|
|
"lanes": "96",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp25"]
|
|
}
|
|
},
|
|
"Ethernet25": {
|
|
"index": "26",
|
|
"lanes": "100",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp26"]
|
|
}
|
|
},
|
|
"Ethernet26": {
|
|
"index": "27",
|
|
"lanes": "104",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp27"]
|
|
}
|
|
},
|
|
"Ethernet27": {
|
|
"index": "28",
|
|
"lanes": "108",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp28"]
|
|
}
|
|
},
|
|
"Ethernet28": {
|
|
"index": "29",
|
|
"lanes": "112",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp29"]
|
|
}
|
|
},
|
|
"Ethernet29": {
|
|
"index": "30",
|
|
"lanes": "116",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp30"]
|
|
}
|
|
},
|
|
"Ethernet30": {
|
|
"index": "31",
|
|
"lanes": "120",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp31"]
|
|
}
|
|
},
|
|
"Ethernet31": {
|
|
"index": "32",
|
|
"lanes": "124",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp32"]
|
|
}
|
|
},
|
|
"Ethernet32": {
|
|
"index": "33",
|
|
"lanes": "128",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp33"]
|
|
}
|
|
},
|
|
"Ethernet33": {
|
|
"index": "34",
|
|
"lanes": "132",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp34"]
|
|
}
|
|
},
|
|
"Ethernet34": {
|
|
"index": "35",
|
|
"lanes": "136",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp35"]
|
|
}
|
|
},
|
|
"Ethernet35": {
|
|
"index": "36",
|
|
"lanes": "140",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp36"]
|
|
}
|
|
},
|
|
"Ethernet36": {
|
|
"index": "37",
|
|
"lanes": "144",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp37"]
|
|
}
|
|
},
|
|
"Ethernet37": {
|
|
"index": "38",
|
|
"lanes": "148",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp38"]
|
|
}
|
|
},
|
|
"Ethernet38": {
|
|
"index": "39",
|
|
"lanes": "152",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp39"]
|
|
}
|
|
},
|
|
"Ethernet39": {
|
|
"index": "40",
|
|
"lanes": "156",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp40"]
|
|
}
|
|
},
|
|
"Ethernet40": {
|
|
"index": "41",
|
|
"lanes": "160",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp41"]
|
|
}
|
|
},
|
|
"Ethernet41": {
|
|
"index": "42",
|
|
"lanes": "164",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp42"]
|
|
}
|
|
},
|
|
"Ethernet42": {
|
|
"index": "43",
|
|
"lanes": "168",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp43"]
|
|
}
|
|
},
|
|
"Ethernet43": {
|
|
"index": "44",
|
|
"lanes": "172",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp44"]
|
|
}
|
|
},
|
|
"Ethernet44": {
|
|
"index": "45",
|
|
"lanes": "176",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp45"]
|
|
}
|
|
},
|
|
"Ethernet45": {
|
|
"index": "46",
|
|
"lanes": "180",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp46"]
|
|
}
|
|
},
|
|
"Ethernet46": {
|
|
"index": "47",
|
|
"lanes": "184",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp47"]
|
|
}
|
|
},
|
|
"Ethernet47": {
|
|
"index": "48",
|
|
"lanes": "188",
|
|
"breakout_modes": {
|
|
"1x1000[100,10]": ["etp48"]
|
|
}
|
|
},
|
|
"Ethernet48": {
|
|
"index": "49,49,49,49",
|
|
"lanes": "192,193,194,195",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp49"],
|
|
"2x50G[25G,10G]": ["etp49a", "etp49b"]
|
|
}
|
|
},
|
|
"Ethernet52": {
|
|
"index": "50,50,50,50",
|
|
"lanes": "196,197,198,199",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp50"],
|
|
"2x50G[25G,10G]": ["etp50a", "etp50b"]
|
|
}
|
|
},
|
|
"Ethernet56": {
|
|
"index": "51,51,51,51",
|
|
"lanes": "200,201,202,203",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp51"],
|
|
"2x50G[25G,10G]": ["etp51a", "etp51b"]
|
|
}
|
|
},
|
|
"Ethernet60": {
|
|
"index": "52,52,52,52",
|
|
"lanes": "204,205,206,207",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp52"],
|
|
"2x50G[25G,10G]": ["etp52a", "etp52b"]
|
|
}
|
|
}
|
|
}
|
|
}
|