3112997b5a
- 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>
353 lines
10 KiB
JSON
353 lines
10 KiB
JSON
{
|
|
"chassis": {
|
|
"name": "MSN2100",
|
|
"components": [
|
|
{
|
|
"name": "ONIE"
|
|
},
|
|
{
|
|
"name": "SSD"
|
|
},
|
|
{
|
|
"name": "BIOS"
|
|
},
|
|
{
|
|
"name": "CPLD1"
|
|
},
|
|
{
|
|
"name": "CPLD2"
|
|
}
|
|
],
|
|
"fans": [],
|
|
"fan_drawers": [
|
|
{
|
|
"name": "N/A",
|
|
"fans": [
|
|
{
|
|
"name": "fan1"
|
|
},
|
|
{
|
|
"name": "fan2"
|
|
},
|
|
{
|
|
"name": "fan3"
|
|
},
|
|
{
|
|
"name": "fan4"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"psus": [
|
|
{
|
|
"name": "PSU 1"
|
|
},
|
|
{
|
|
"name": "PSU 2"
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "ASIC"
|
|
},
|
|
{
|
|
"name": "Ambient Fan Side Temp"
|
|
},
|
|
{
|
|
"name": "Ambient Port Side Temp"
|
|
},
|
|
{
|
|
"name": "CPU Core 0 Temp"
|
|
},
|
|
{
|
|
"name": "CPU Core 1 Temp"
|
|
},
|
|
{
|
|
"name": "CPU Core 2 Temp"
|
|
},
|
|
{
|
|
"name": "CPU Core 3 Temp"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp5",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 5 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp6",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 6 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp7",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 7 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp8",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 8 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp9",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 9 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp10",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 10 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp11",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 11 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp12",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 12 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp13",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 13 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp14",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 14 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp15",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 15 Temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sfp16",
|
|
"thermals": [
|
|
{
|
|
"name": "xSFP module 16 Temp"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"interfaces": {
|
|
"Ethernet0": {
|
|
"index": "1,1,1,1",
|
|
"lanes": "0,1,2,3",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp1"],
|
|
"2x50G[25G,10G]": ["etp1a", "etp1b"],
|
|
"4x25G[10G]": ["etp1a", "etp1b", "etp1c", "etp1d"]
|
|
}
|
|
},
|
|
"Ethernet4": {
|
|
"index": "2,2,2,2",
|
|
"lanes": "4,5,6,7",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp2"],
|
|
"2x50G[25G,10G]": ["etp2a", "etp2b"],
|
|
"4x25G[10G]": ["etp2a", "etp2b", "etp2c", "etp2d"]
|
|
}
|
|
},
|
|
"Ethernet8": {
|
|
"index": "3,3,3,3",
|
|
"lanes": "8,9,10,11",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp3"],
|
|
"2x50G[25G,10G]": ["etp3a", "etp3b"],
|
|
"4x25G[10G]": ["etp3a", "etp3b", "etp3c", "etp3d"]
|
|
}
|
|
},
|
|
"Ethernet12": {
|
|
"index": "4,4,4,4",
|
|
"lanes": "12,13,14,15",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp4"],
|
|
"2x50G[25G,10G]": ["etp4a", "etp4b"],
|
|
"4x25G[10G]": ["etp4a", "etp4b", "etp4c", "etp4d"]
|
|
}
|
|
},
|
|
"Ethernet16": {
|
|
"index": "5,5,5,5",
|
|
"lanes": "16,17,18,19",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp5"],
|
|
"2x50G[25G,10G]": ["etp5a", "etp5b"],
|
|
"4x25G[10G]": ["etp5a", "etp5b", "etp5c", "etp5d"]
|
|
}
|
|
},
|
|
"Ethernet20": {
|
|
"index": "6,6,6,6",
|
|
"lanes": "20,21,22,23",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp6"],
|
|
"2x50G[25G,10G]": ["etp6a", "etp6b"],
|
|
"4x25G[10G]": ["etp6a", "etp6b", "etp6c", "etp6d"]
|
|
}
|
|
},
|
|
"Ethernet24": {
|
|
"index": "7,7,7,7",
|
|
"lanes": "24,25,26,27",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp7"],
|
|
"2x50G[25G,10G]": ["etp7a", "etp7b"],
|
|
"4x25G[10G]": ["etp7a", "etp7b", "etp7c", "etp7d"]
|
|
}
|
|
},
|
|
"Ethernet28": {
|
|
"index": "8,8,8,8",
|
|
"lanes": "28,29,30,31",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp8"],
|
|
"2x50G[25G,10G]": ["etp8a", "etp8b"],
|
|
"4x25G[10G]": ["etp8a", "etp8b", "etp8c", "etp8d"]
|
|
}
|
|
},
|
|
"Ethernet32": {
|
|
"index": "9,9,9,9",
|
|
"lanes": "32,33,34,35",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp9"],
|
|
"2x50G[25G,10G]": ["etp9a", "etp9b"],
|
|
"4x25G[10G]": ["etp9a", "etp9b", "etp9c", "etp9d"]
|
|
}
|
|
},
|
|
"Ethernet36": {
|
|
"index": "10,10,10,10",
|
|
"lanes": "36,37,38,39",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp10"],
|
|
"2x50G[25G,10G]": ["etp10a", "etp10b"],
|
|
"4x25G[10G]": ["etp10a", "etp10b", "etp10c", "etp10d"]
|
|
}
|
|
},
|
|
"Ethernet40": {
|
|
"index": "11,11,11,11",
|
|
"lanes": "40,41,42,43",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp11"],
|
|
"2x50G[25G,10G]": ["etp11a", "etp11b"],
|
|
"4x25G[10G]": ["etp11a", "etp11b", "etp11c", "etp11d"]
|
|
}
|
|
},
|
|
"Ethernet44": {
|
|
"index": "12,12,12,12",
|
|
"lanes": "44,45,46,47",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp12"],
|
|
"2x50G[25G,10G]": ["etp12a", "etp12b"],
|
|
"4x25G[10G]": ["etp12a", "etp12b", "etp12c", "etp12d"]
|
|
}
|
|
},
|
|
"Ethernet48": {
|
|
"index": "13,13,13,13",
|
|
"lanes": "48,49,50,51",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp13"],
|
|
"2x50G[25G,10G]": ["etp13a", "etp13b"],
|
|
"4x25G[10G]": ["etp13a", "etp13b", "etp13c", "etp13d"]
|
|
}
|
|
},
|
|
"Ethernet52": {
|
|
"index": "14,14,14,14",
|
|
"lanes": "52,53,54,55",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp14"],
|
|
"2x50G[25G,10G]": ["etp14a", "etp14b"],
|
|
"4x25G[10G]": ["etp14a", "etp14b", "etp14c", "etp14d"]
|
|
}
|
|
},
|
|
"Ethernet56": {
|
|
"index": "15,15,15,15",
|
|
"lanes": "56,57,58,59",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp15"],
|
|
"2x50G[25G,10G]": ["etp15a", "etp15b"],
|
|
"4x25G[10G]": ["etp15a", "etp15b", "etp15c", "etp15d"]
|
|
}
|
|
},
|
|
"Ethernet60": {
|
|
"index": "16,16,16,16",
|
|
"lanes": "60,61,62,63",
|
|
"breakout_modes": {
|
|
"1x100G[50G,40G,25G,10G]": ["etp16"],
|
|
"2x50G[25G,10G]": ["etp16a", "etp16b"],
|
|
"4x25G[10G]": ["etp16a", "etp16b", "etp16c", "etp16d"]
|
|
}
|
|
}
|
|
}
|
|
}
|