1acafa4873
Why I did it Add PDDF support on following Ufispace platforms with Broadcom ASIC S9110-32X S8901-54XC S7801-54XS S6301-56ST How I did it Add PDDF configuration files, scripts and python files How to verify it Run pddf commands and show commands. Signed-off-by: nonodark <ef67891@yahoo.com.tw>
692 lines
18 KiB
JSON
692 lines
18 KiB
JSON
{
|
|
"chassis": {
|
|
"name": "S8901-54XC",
|
|
"components": [
|
|
{
|
|
"name": "CPLD1"
|
|
},
|
|
{
|
|
"name": "CPLD2"
|
|
},
|
|
{
|
|
"name": "BIOS"
|
|
},
|
|
{
|
|
"name": "BMC"
|
|
}
|
|
],
|
|
"fans": [
|
|
{
|
|
"name": "Fan_1"
|
|
},
|
|
{
|
|
"name": "Fan_2"
|
|
},
|
|
{
|
|
"name": "Fan_3"
|
|
},
|
|
{
|
|
"name": "Fan_4"
|
|
},
|
|
{
|
|
"name": "Fan_5"
|
|
}
|
|
],
|
|
"fan_drawers":[
|
|
{
|
|
"name": "Fantray1",
|
|
"num_fans" : 1,
|
|
"fans": [
|
|
{
|
|
"name": "Fan_1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Fantray2",
|
|
"num_fans" : 1,
|
|
"fans": [
|
|
{
|
|
"name": "Fan_2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Fantray3",
|
|
"num_fans" : 1,
|
|
"fans": [
|
|
{
|
|
"name": "Fan_3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Fantray4",
|
|
"num_fans" : 1,
|
|
"fans": [
|
|
{
|
|
"name": "Fan_4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Fantray5",
|
|
"num_fans" : 1,
|
|
"fans": [
|
|
{
|
|
"name": "Fan_5"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"psus": [
|
|
{
|
|
"name": "PSU1",
|
|
"fans": [
|
|
{
|
|
"name": "PSU1_FAN1"
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "PSU1_TEMP1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "PSU2",
|
|
"fans": [
|
|
{
|
|
"name": "PSU2_FAN1"
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "PSU2_TEMP1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "TEMP_MAC"
|
|
},
|
|
{
|
|
"name": "TEMP_ENV_MACCASE"
|
|
},
|
|
{
|
|
"name": "TEMP_ENV_PSUCASE"
|
|
},
|
|
{
|
|
"name": "TEMP_ENV_FANCONN"
|
|
},
|
|
{
|
|
"name": "TEMP_ENV_FANCARD"
|
|
},
|
|
{
|
|
"name": "TEMP_ENV_BMC"
|
|
},
|
|
{
|
|
"name": "PSU-0-Thermal"
|
|
},
|
|
{
|
|
"name": "PSU-1-Thermal"
|
|
}
|
|
],
|
|
"sfps": [
|
|
{
|
|
"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": "Ethernet52"
|
|
},
|
|
{
|
|
"name": "Ethernet56"
|
|
},
|
|
{
|
|
"name": "Ethernet60"
|
|
},
|
|
{
|
|
"name": "Ethernet64"
|
|
},
|
|
{
|
|
"name": "Ethernet68"
|
|
},
|
|
{
|
|
"name": "Ethernet72"
|
|
}
|
|
]
|
|
},
|
|
"interfaces": {
|
|
"Ethernet0": {
|
|
"index": "0",
|
|
"lanes": "1",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth0(Port0)" ]
|
|
}
|
|
},
|
|
"Ethernet1": {
|
|
"index": "1",
|
|
"lanes": "2",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth1(Port1)" ]
|
|
}
|
|
},
|
|
"Ethernet2": {
|
|
"index": "2",
|
|
"lanes": "3",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth2(Port2)" ]
|
|
}
|
|
},
|
|
"Ethernet3": {
|
|
"index": "3",
|
|
"lanes": "4",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth3(Port3)" ]
|
|
}
|
|
},
|
|
"Ethernet4": {
|
|
"index": "4",
|
|
"lanes": "5",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth4(Port4)" ]
|
|
}
|
|
},
|
|
"Ethernet5": {
|
|
"index": "5",
|
|
"lanes": "6",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth5(Port5)" ]
|
|
}
|
|
},
|
|
"Ethernet6": {
|
|
"index": "6",
|
|
"lanes": "7",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth6(Port6)" ]
|
|
}
|
|
},
|
|
"Ethernet7": {
|
|
"index": "7",
|
|
"lanes": "8",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth7(Port7)" ]
|
|
}
|
|
},
|
|
"Ethernet8": {
|
|
"index": "8",
|
|
"lanes": "9",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth8(Port8)" ]
|
|
}
|
|
},
|
|
"Ethernet9": {
|
|
"index": "9",
|
|
"lanes": "10",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth9(Port9)" ]
|
|
}
|
|
},
|
|
"Ethernet10": {
|
|
"index": "10",
|
|
"lanes": "11",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth10(Port10)" ]
|
|
}
|
|
},
|
|
"Ethernet11": {
|
|
"index": "11",
|
|
"lanes": "12",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth11(Port11)" ]
|
|
}
|
|
},
|
|
"Ethernet12": {
|
|
"index": "12",
|
|
"lanes": "13",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth12(Port12)" ]
|
|
}
|
|
},
|
|
"Ethernet13": {
|
|
"index": "13",
|
|
"lanes": "14",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth13(Port13)" ]
|
|
}
|
|
},
|
|
"Ethernet14": {
|
|
"index": "14",
|
|
"lanes": "15",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth14(Port14)" ]
|
|
}
|
|
},
|
|
"Ethernet15": {
|
|
"index": "15",
|
|
"lanes": "16",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth15(Port15)" ]
|
|
}
|
|
},
|
|
"Ethernet16": {
|
|
"index": "16",
|
|
"lanes": "17",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth16(Port16)" ]
|
|
}
|
|
},
|
|
"Ethernet17": {
|
|
"index": "17",
|
|
"lanes": "18",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth17(Port17)" ]
|
|
}
|
|
},
|
|
"Ethernet18": {
|
|
"index": "18",
|
|
"lanes": "19",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth18(Port18)" ]
|
|
}
|
|
},
|
|
"Ethernet19": {
|
|
"index": "19",
|
|
"lanes": "20",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth19(Port19)" ]
|
|
}
|
|
},
|
|
"Ethernet20": {
|
|
"index": "20",
|
|
"lanes": "21",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth20(Port20)" ]
|
|
}
|
|
},
|
|
"Ethernet21": {
|
|
"index": "21",
|
|
"lanes": "22",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth21(Port21)" ]
|
|
}
|
|
},
|
|
"Ethernet22": {
|
|
"index": "22",
|
|
"lanes": "23",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth22(Port22)" ]
|
|
}
|
|
},
|
|
"Ethernet23": {
|
|
"index": "23",
|
|
"lanes": "24",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth23(Port23)" ]
|
|
}
|
|
},
|
|
"Ethernet24": {
|
|
"index": "24",
|
|
"lanes": "25",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth24(Port24)" ]
|
|
}
|
|
},
|
|
"Ethernet25": {
|
|
"index": "25",
|
|
"lanes": "26",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth25(Port25)" ]
|
|
}
|
|
},
|
|
"Ethernet26": {
|
|
"index": "26",
|
|
"lanes": "27",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth26(Port26)" ]
|
|
}
|
|
},
|
|
"Ethernet27": {
|
|
"index": "27",
|
|
"lanes": "28",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth27(Port27)" ]
|
|
}
|
|
},
|
|
"Ethernet28": {
|
|
"index": "28",
|
|
"lanes": "41",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth28(Port28)" ]
|
|
}
|
|
},
|
|
"Ethernet29": {
|
|
"index": "29",
|
|
"lanes": "42",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth29(Port29)" ]
|
|
}
|
|
},
|
|
"Ethernet30": {
|
|
"index": "30",
|
|
"lanes": "43",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth30(Port30)" ]
|
|
}
|
|
},
|
|
"Ethernet31": {
|
|
"index": "31",
|
|
"lanes": "44",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth31(Port31)" ]
|
|
}
|
|
},
|
|
"Ethernet32": {
|
|
"index": "32",
|
|
"lanes": "61",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth32(Port32)" ]
|
|
}
|
|
},
|
|
"Ethernet33": {
|
|
"index": "33",
|
|
"lanes": "62",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth33(Port33)" ]
|
|
}
|
|
},
|
|
"Ethernet34": {
|
|
"index": "34",
|
|
"lanes": "63",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth34(Port34)" ]
|
|
}
|
|
},
|
|
"Ethernet35": {
|
|
"index": "35",
|
|
"lanes": "64",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth35(Port35)" ]
|
|
}
|
|
},
|
|
"Ethernet36": {
|
|
"index": "36",
|
|
"lanes": "65",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth36(Port36)" ]
|
|
}
|
|
},
|
|
"Ethernet37": {
|
|
"index": "37",
|
|
"lanes": "66",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth37(Port37)" ]
|
|
}
|
|
},
|
|
"Ethernet38": {
|
|
"index": "38",
|
|
"lanes": "67",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth38(Port38)" ]
|
|
}
|
|
},
|
|
"Ethernet39": {
|
|
"index": "39",
|
|
"lanes": "68",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth39(Port39)" ]
|
|
}
|
|
},
|
|
"Ethernet40": {
|
|
"index": "40",
|
|
"lanes": "69",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth40(Port40)" ]
|
|
}
|
|
},
|
|
"Ethernet41": {
|
|
"index": "41",
|
|
"lanes": "70",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth41(Port41)" ]
|
|
}
|
|
},
|
|
"Ethernet42": {
|
|
"index": "42",
|
|
"lanes": "71",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth42(Port42)" ]
|
|
}
|
|
},
|
|
"Ethernet43": {
|
|
"index": "43",
|
|
"lanes": "72",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth43(Port43)" ]
|
|
}
|
|
},
|
|
"Ethernet44": {
|
|
"index": "44",
|
|
"lanes": "73",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth44(Port44)" ]
|
|
}
|
|
},
|
|
"Ethernet45": {
|
|
"index": "45",
|
|
"lanes": "74",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth45(Port45)" ]
|
|
}
|
|
},
|
|
"Ethernet46": {
|
|
"index": "46",
|
|
"lanes": "75",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth46(Port46)" ]
|
|
}
|
|
},
|
|
"Ethernet47": {
|
|
"index": "47",
|
|
"lanes": "76",
|
|
"breakout_modes": {
|
|
"1x25G[10G]" : [ "Eth47(Port47)" ]
|
|
}
|
|
},
|
|
"Ethernet48": {
|
|
"index": "48,48,48,48",
|
|
"lanes": "37,38,39,40",
|
|
"breakout_modes": {
|
|
"1x100G[40G]" : [ "Eth48(Port48)" ]
|
|
}
|
|
},
|
|
"Ethernet52": {
|
|
"index": "49,49,49,49",
|
|
"lanes": "33,34,35,36",
|
|
"breakout_modes": {
|
|
"1x100G[40G]" : [ "Eth49(Port49)" ]
|
|
}
|
|
},
|
|
"Ethernet56": {
|
|
"index": "50,50,50,50",
|
|
"lanes": "45,46,47,48",
|
|
"breakout_modes": {
|
|
"1x100G[40G]" : [ "Eth50(Port50)" ]
|
|
}
|
|
},
|
|
"Ethernet60": {
|
|
"index": "51,51,51,51",
|
|
"lanes": "49,50,51,52",
|
|
"breakout_modes": {
|
|
"1x100G[40G]" : [ "Eth51(Port51)" ]
|
|
}
|
|
},
|
|
"Ethernet64": {
|
|
"index": "52,52,52,52",
|
|
"lanes": "53,54,55,56",
|
|
"breakout_modes": {
|
|
"1x100G[40G]" : [ "Eth52(Port52)" ],
|
|
"2x50G": ["Eth52/1(Port52)", "Eth52/2(Port52)"],
|
|
"4x25G": ["Eth52/1(Port52)", "Eth52/2(Port52)", "Eth52/3(Port52)", "Eth52/4(Port52)"],
|
|
"4x10G": ["Eth52/1(Port52)", "Eth52/2(Port52)", "Eth52/3(Port52)", "Eth52/4(Port52)"]
|
|
}
|
|
},
|
|
"Ethernet68": {
|
|
"index": "53,53,53,53",
|
|
"lanes": "57,58,59,60",
|
|
"breakout_modes": {
|
|
"1x100G[40G]" : [ "Eth53(Port53)" ],
|
|
"2x50G": ["Eth53/1(Port53)", "Eth53/2(Port53)"],
|
|
"4x25G": ["Eth53/1(Port53)", "Eth53/2(Port53)", "Eth53/3(Port53)", "Eth53/4(Port53)"],
|
|
"4x10G": ["Eth53/1(Port53)", "Eth53/2(Port53)", "Eth53/3(Port53)", "Eth53/4(Port53)"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|