[DPB] [Mellanox] added capability files for SN2100 platform (#6016)

- Why I did it
platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout

- How I did it
Created capability files according to platform specification SN2100

- How to verify it
Full qualification requires bugs fixes reported under sonic-buildimage

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
This commit is contained in:
Vadym Hlushko 2021-01-17 11:02:54 +02:00 committed by GitHub
parent ce819e7a61
commit ffc957cf08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 152 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet4": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet8": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet12": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet16": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet20": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet24": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet28": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet32": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet36": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet40": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet44": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet48": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet52": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet56": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet60": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
}
}
}

View File

@ -0,0 +1,100 @@
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"alias_at_lanes": "etp1a, etp1b, etp1c, etp1d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet4": {
"index": "2,2,2,2",
"lanes": "4,5,6,7",
"alias_at_lanes": "etp2a, etp2b, etp2c, etp2d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet8": {
"index": "3,3,3,3",
"lanes": "8,9,10,11",
"alias_at_lanes": "etp3a, etp3b, etp3c, etp3d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet12": {
"index": "4,4,4,4",
"lanes": "12,13,14,15",
"alias_at_lanes": "etp4a, etp4b, etp4c, etp4d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet16": {
"index": "5,5,5,5",
"lanes": "16,17,18,19",
"alias_at_lanes": "etp5a, etp5b, etp5c, etp5d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet20": {
"index": "6,6,6,6",
"lanes": "20,21,22,23",
"alias_at_lanes": "etp6a, etp6b, etp6c, etp6d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet24": {
"index": "7,7,7,7",
"lanes": "24,25,26,27",
"alias_at_lanes": "etp7a, etp7b, etp7c, etp7d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet28": {
"index": "8,8,8,8",
"lanes": "28,29,30,31",
"alias_at_lanes": "etp8a, etp8b, etp8c, etp8d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet32": {
"index": "9,9,9,9",
"lanes": "32,33,34,35",
"alias_at_lanes": "etp9a, etp9b, etp9c, etp9d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet36": {
"index": "10,10,10,10",
"lanes": "36,37,38,39",
"alias_at_lanes": "etp10a, etp10b, etp10c, etp10d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet40": {
"index": "11,11,11,11",
"lanes": "40,41,42,43",
"alias_at_lanes": "etp11a, etp11b, etp11c, etp11d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet44": {
"index": "12,12,12,12",
"lanes": "44,45,46,47",
"alias_at_lanes": "etp12a, etp12b, etp12c, etp12d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet48": {
"index": "13,13,13,13",
"lanes": "48,49,50,51",
"alias_at_lanes": "etp13a, etp13b, etp13c, etp13d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet52": {
"index": "14,14,14,14",
"lanes": "52,53,54,55",
"alias_at_lanes": "etp14a, etp14b, etp14c, etp14d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet56": {
"index": "15,15,15,15",
"lanes": "56,57,58,59",
"alias_at_lanes": "etp15a, etp15b, etp15c, etp15d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
},
"Ethernet60": {
"index": "16,16,16,16",
"lanes": "60,61,62,63",
"alias_at_lanes": "etp16a, etp16b, etp16c, etp16d",
"breakout_modes": "1x100G[50G,40G,25G,10G],2x50G[40G,25G,10G],4x25G[10G]"
}
}
}