2020-11-25 05:55:05 -06:00
|
|
|
{
|
2021-05-03 14:22:13 -05:00
|
|
|
"chassis": {
|
|
|
|
"name": "MSN3700C",
|
|
|
|
"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": [
|
|
|
|
{
|
2021-05-07 11:42:40 -05:00
|
|
|
"name": "psu1_fan1"
|
2021-05-03 14:22:13 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "PSU-1 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PSU 2",
|
|
|
|
"fans": [
|
|
|
|
{
|
2021-05-07 11:42:40 -05:00
|
|
|
"name": "psu2_fan1"
|
2021-05-03 14:22:13 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "PSU-2 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "ASIC"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Ambient COMEX Temp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Ambient Fan Side Temp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Ambient Port Side Temp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CPU Core 0 Temp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CPU Core 1 Temp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CPU Pack 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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp17",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 17 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp18",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 18 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp19",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 19 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp20",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 20 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp21",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 21 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp22",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 22 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp23",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 23 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp24",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 24 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp25",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 25 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp26",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 26 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp27",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 27 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp28",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 28 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp29",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 29 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp30",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 30 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp31",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 31 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sfp32",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "xSFP module 32 Temp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-11-25 05:55:05 -06:00
|
|
|
"interfaces": {
|
|
|
|
"Ethernet0": {
|
|
|
|
"index": "1,1,1,1",
|
|
|
|
"lanes": "0,1,2,3",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp1"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp1a", "etp1b"],
|
|
|
|
"4x25G[10G,1G]": ["etp1a", "etp1b", "etp1c", "etp1d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet4": {
|
|
|
|
"index": "2,2,2,2",
|
|
|
|
"lanes": "4,5,6,7",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp2"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp2a", "etp2b"],
|
|
|
|
"4x25G[10G,1G]": ["etp2a", "etp2b", "etp2c", "etp2d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet8": {
|
|
|
|
"index": "3,3,3,3",
|
|
|
|
"lanes": "8,9,10,11",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp3"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp3a", "etp3b"],
|
|
|
|
"4x25G[10G,1G]": ["etp3a", "etp3b", "etp3c", "etp3d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet12": {
|
|
|
|
"index": "4,4,4,4",
|
|
|
|
"lanes": "12,13,14,15",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp4"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp4a", "etp4b"],
|
|
|
|
"4x25G[10G,1G]": ["etp4a", "etp4b", "etp4c", "etp4d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet16": {
|
|
|
|
"index": "5,5,5,5",
|
|
|
|
"lanes": "16,17,18,19",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp5"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp5a", "etp5b"],
|
|
|
|
"4x25G[10G,1G]": ["etp5a", "etp5b", "etp5c", "etp5d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet20": {
|
|
|
|
"index": "6,6,6,6",
|
|
|
|
"lanes": "20,21,22,23",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp6"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp6a", "etp6b"],
|
|
|
|
"4x25G[10G,1G]": ["etp6a", "etp6b", "etp6c", "etp6d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet24": {
|
|
|
|
"index": "7,7,7,7",
|
|
|
|
"lanes": "24,25,26,27",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp7"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp7a", "etp7b"],
|
|
|
|
"4x25G[10G,1G]": ["etp7a", "etp7b", "etp7c", "etp7d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet28": {
|
|
|
|
"index": "8,8,8,8",
|
|
|
|
"lanes": "28,29,30,31",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp8"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp8a", "etp8b"],
|
|
|
|
"4x25G[10G,1G]": ["etp8a", "etp8b", "etp8c", "etp8d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet32": {
|
|
|
|
"index": "9,9,9,9",
|
|
|
|
"lanes": "32,33,34,35",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp9"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp9a", "etp9b"],
|
|
|
|
"4x25G[10G,1G]": ["etp9a", "etp9b", "etp9c", "etp9d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet36": {
|
|
|
|
"index": "10,10,10,10",
|
|
|
|
"lanes": "36,37,38,39",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp10"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp10a", "etp10b"],
|
|
|
|
"4x25G[10G,1G]": ["etp10a", "etp10b", "etp10c", "etp10d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet40": {
|
|
|
|
"index": "11,11,11,11",
|
|
|
|
"lanes": "40,41,42,43",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp11"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp11a", "etp11b"],
|
|
|
|
"4x25G[10G,1G]": ["etp11a", "etp11b", "etp11c", "etp11d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet44": {
|
|
|
|
"index": "12,12,12,12",
|
|
|
|
"lanes": "44,45,46,47",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp12"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp12a", "etp12b"],
|
|
|
|
"4x25G[10G,1G]": ["etp12a", "etp12b", "etp12c", "etp12d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet48": {
|
|
|
|
"index": "13,13,13,13",
|
|
|
|
"lanes": "48,49,50,51",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp13"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp13a", "etp13b"],
|
|
|
|
"4x25G[10G,1G]": ["etp13a", "etp13b", "etp13c", "etp13d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet52": {
|
|
|
|
"index": "14,14,14,14",
|
|
|
|
"lanes": "52,53,54,55",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp14"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp14a", "etp14b"],
|
|
|
|
"4x25G[10G,1G]": ["etp14a", "etp14b", "etp14c", "etp14d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet56": {
|
|
|
|
"index": "15,15,15,15",
|
|
|
|
"lanes": "56,57,58,59",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp15"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp15a", "etp15b"],
|
|
|
|
"4x25G[10G,1G]": ["etp15a", "etp15b", "etp15c", "etp15d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet60": {
|
|
|
|
"index": "16,16,16,16",
|
|
|
|
"lanes": "60,61,62,63",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp16"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp16a", "etp16b"],
|
|
|
|
"4x25G[10G,1G]": ["etp16a", "etp16b", "etp16c", "etp16d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet64": {
|
|
|
|
"index": "17,17,17,17",
|
|
|
|
"lanes": "64,65,66,67",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp17"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp17a", "etp17b"],
|
|
|
|
"4x25G[10G,1G]": ["etp17a", "etp17b", "etp17c", "etp17d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet68": {
|
|
|
|
"index": "18,18,18,18",
|
|
|
|
"lanes": "68,69,70,71",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp18"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp18a", "etp18b"],
|
|
|
|
"4x25G[10G,1G]": ["etp18a", "etp18b", "etp18c", "etp18d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet72": {
|
|
|
|
"index": "19,19,19,19",
|
|
|
|
"lanes": "72,73,74,75",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp19"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp19a", "etp19b"],
|
|
|
|
"4x25G[10G,1G]": ["etp19a", "etp19b", "etp19c", "etp19d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet76": {
|
|
|
|
"index": "20,20,20,20",
|
|
|
|
"lanes": "76,77,78,79",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp20"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp20a", "etp20b"],
|
|
|
|
"4x25G[10G,1G]": ["etp20a", "etp20b", "etp20c", "etp20d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet80": {
|
|
|
|
"index": "21,21,21,21",
|
|
|
|
"lanes": "80,81,82,83",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp21"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp21a", "etp21b"],
|
|
|
|
"4x25G[10G,1G]": ["etp21a", "etp21b", "etp21c", "etp21d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet84": {
|
|
|
|
"index": "22,22,22,22",
|
|
|
|
"lanes": "84,85,86,87",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp22"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp22a", "etp22b"],
|
|
|
|
"4x25G[10G,1G]": ["etp22a", "etp22b", "etp22c", "etp22d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet88": {
|
|
|
|
"index": "23,23,23,23",
|
|
|
|
"lanes": "88,89,90,91",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp23"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp23a", "etp23b"],
|
|
|
|
"4x25G[10G,1G]": ["etp23a", "etp23b", "etp23c", "etp23d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet92": {
|
|
|
|
"index": "24,24,24,24",
|
|
|
|
"lanes": "92,93,94,95",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp24"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp24a", "etp24b"],
|
|
|
|
"4x25G[10G,1G]": ["etp24a", "etp24b", "etp24c", "etp24d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet96": {
|
|
|
|
"index": "25,25,25,25",
|
|
|
|
"lanes": "96,97,98,99",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp25"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp25a", "etp25b"],
|
|
|
|
"4x25G[10G,1G]": ["etp25a", "etp25b", "etp25c", "etp25d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet100": {
|
|
|
|
"index": "26,26,26,26",
|
|
|
|
"lanes": "100,101,102,103",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp26"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp26a", "etp26b"],
|
|
|
|
"4x25G[10G,1G]": ["etp26a", "etp26b", "etp26c", "etp26d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet104": {
|
|
|
|
"index": "27,27,27,27",
|
|
|
|
"lanes": "104,105,106,107",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp27"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp27a", "etp27b"],
|
|
|
|
"4x25G[10G,1G]": ["etp27a", "etp27b", "etp27c", "etp27d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet108": {
|
|
|
|
"index": "28,28,28,28",
|
|
|
|
"lanes": "108,109,110,111",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp28"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp28a", "etp28b"],
|
|
|
|
"4x25G[10G,1G]": ["etp28a", "etp28b", "etp28c", "etp28d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet112": {
|
|
|
|
"index": "29,29,29,29",
|
|
|
|
"lanes": "112,113,114,115",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp29"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp29a", "etp29b"],
|
|
|
|
"4x25G[10G,1G]": ["etp29a", "etp29b", "etp29c", "etp29d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet116": {
|
|
|
|
"index": "30,30,30,30",
|
|
|
|
"lanes": "116,117,118,119",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp30"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp30a", "etp30b"],
|
|
|
|
"4x25G[10G,1G]": ["etp30a", "etp30b", "etp30c", "etp30d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet120": {
|
|
|
|
"index": "31,31,31,31",
|
|
|
|
"lanes": "120,121,122,123",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp31"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp31a", "etp31b"],
|
|
|
|
"4x25G[10G,1G]": ["etp31a", "etp31b", "etp31c", "etp31d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
},
|
|
|
|
"Ethernet124": {
|
|
|
|
"index": "32,32,32,32",
|
|
|
|
"lanes": "124,125,126,127",
|
[DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831)
To fix [DPB| wrong aliases for interfaces](https://github.com/Azure/sonic-buildimage/issues/6024) issue, implimented flexible alias support [design doc](https://github.com/Azure/SONiC/pull/749)
> [[dpb|config] Fix the validation logic of breakout mode](https://github.com/Azure/sonic-utilities/pull/1440) depends on this
#### How I did it
1. Removed `"alias_at_lanes"` from port-configuration file(i.e. platfrom.json)
2. Added dictionary to "breakout_modes" values. This defines the breakout modes available on the platform for this parent port, and it maps to the alias list. The alias list presents the alias names for individual ports in order under this breakout mode.
```
{
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[40G]": ["Eth1"],
"2x50G": ["Eth1/1", "Eth1/2"],
"4x25G[10G]": ["Eth1/1", "Eth1/2", "Eth1/3", "Eth1/4"],
"2x25G(2)+1x50G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"],
"1x50G(2)+2x25G(2)": ["Eth1/1", "Eth1/2", "Eth1/3"]
}
}
}
```
#### How to verify it
`config interface breakout`
Signed-off-by: Sangita Maity <samaity@linkedin.com>
2021-02-26 02:13:33 -06:00
|
|
|
"breakout_modes": {
|
|
|
|
"1x100G[50G,40G,25G,10G,1G]": ["etp32"],
|
|
|
|
"2x50G[40G,25G,10G,1G]": ["etp32a", "etp32b"],
|
|
|
|
"4x25G[10G,1G]": ["etp32a", "etp32b", "etp32c", "etp32d"]
|
|
|
|
}
|
2020-11-25 05:55:05 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|