[MSN2700] Add platform.json file containing platform hardware facts (#5189)

As part of Platform api testing for multiple platforms, this pull request adds a platform.json file which contains all
the static data for Mellanox-2700 platform. This file would provide all the platform specific data required for testing of all the Platform tests . As part of testing the API's the values of static/default objects within this specific platform file  will be compared  against the values returned by calling the Platform specific API's in a typical platform test
This commit is contained in:
vdahiya12 2020-09-22 17:12:51 -07:00 committed by GitHub
parent a0afe2fc16
commit f2194010f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,311 @@
{
"chassis": {
"name": "MSN2700",
"components": [
{
"name": "ONIE"
},
{
"name": "SSD"
},
{
"name": "BIOS"
},
{
"name": "CPLD1"
},
{
"name": "CPLD2"
},
{
"name": "CPLD3"
}
],
"fans": [],
"fan_drawers": [
{
"name": "drawer1",
"fans": [
{
"name": "fan1"
},
{
"name": "fan2"
}
]
},
{
"name": "drawer2",
"fans": [
{
"name": "fan3"
},
{
"name": "fan4"
}
]
},
{
"name": "drawer3",
"fans": [
{
"name": "fan5"
},
{
"name": "fan6"
}
]
},
{
"name": "drawer4",
"fans": [
{
"name": "fan7"
},
{
"name": "fan8"
}
]
}
],
"psus": [
{
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
}
]
},
{
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
}
]
}
],
"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 Pack Temp"
},
{
"name": "PSU-1 Temp"
},
{
"name": "PSU-2 Temp"
},
{
"name": "xSFP module 1 Temp"
},
{
"name": "xSFP module 2 Temp"
},
{
"name": "xSFP module 3 Temp"
},
{
"name": "xSFP module 4 Temp"
},
{
"name": "xSFP module 5 Temp"
},
{
"name": "xSFP module 6 Temp"
},
{
"name": "xSFP module 7 Temp"
},
{
"name": "xSFP module 8 Temp"
},
{
"name": "xSFP module 9 Temp"
},
{
"name": "xSFP module 10 Temp"
},
{
"name": "xSFP module 11 Temp"
},
{
"name": "xSFP module 12 Temp"
},
{
"name": "xSFP module 13 Temp"
},
{
"name": "xSFP module 14 Temp"
},
{
"name": "xSFP module 15 Temp"
},
{
"name": "xSFP module 16 Temp"
},
{
"name": "xSFP module 17 Temp"
},
{
"name": "xSFP module 18 Temp"
},
{
"name": "xSFP module 19 Temp"
},
{
"name": "xSFP module 20 Temp"
},
{
"name": "xSFP module 21 Temp"
},
{
"name": "xSFP module 22 Temp"
},
{
"name": "xSFP module 23 Temp"
},
{
"name": "xSFP module 24 Temp"
},
{
"name": "xSFP module 25 Temp"
},
{
"name": "xSFP module 26 Temp"
},
{
"name": "xSFP module 27 Temp"
},
{
"name": "xSFP module 28 Temp"
},
{
"name": "xSFP module 29 Temp"
},
{
"name": "xSFP module 30 Temp"
},
{
"name": "xSFP module 31 Temp"
},
{
"name": "xSFP module 32 Temp"
}
],
"sfps": [
{
"name": "sfp1"
},
{
"name": "sfp2"
},
{
"name": "sfp3"
},
{
"name": "sfp4"
},
{
"name": "sfp5"
},
{
"name": "sfp6"
},
{
"name": "sfp7"
},
{
"name": "sfp8"
},
{
"name": "sfp9"
},
{
"name": "sfp10"
},
{
"name": "sfp11"
},
{
"name": "sfp12"
},
{
"name": "sfp13"
},
{
"name": "sfp14"
},
{
"name": "sfp15"
},
{
"name": "sfp16"
},
{
"name": "sfp17"
},
{
"name": "sfp18"
},
{
"name": "sfp19"
},
{
"name": "sfp20"
},
{
"name": "sfp21"
},
{
"name": "sfp22"
},
{
"name": "sfp23"
},
{
"name": "sfp24"
},
{
"name": "sfp25"
},
{
"name": "sfp26"
},
{
"name": "sfp27"
},
{
"name": "sfp28"
},
{
"name": "sfp29"
},
{
"name": "sfp30"
},
{
"name": "sfp31"
},
{
"name": "sfp32"
}
]
},
"interfaces": {}
}