2021-02-06 19:38:29 -06:00
|
|
|
{
|
2021-11-15 11:41:39 -06:00
|
|
|
"chassis": {
|
|
|
|
"name": "Wedge100BF-32X-O-AC-F-BF",
|
[BFN] Implementation API for platform component (#10180)
* [BFN] Implementation API for platform component
SONiC has a concept of "platform components"
this may include - CPLD, FPGA, BIOS, BMC, etc.
These changes are needed to read the version of the BIOS and BMC component.
What I did
Create components.py module
Add funcion for reading componet version to thrift interface
How I did it
The previous implementaion didn't have platform components API, so fwutil return an empty list.
After implementation of the platform component API, we have actual list of platform components and firmware versions
How to verify it
Run manually 'fwutil show status' or run unit tests
Previous command output
Chassis Module Component Version Description
------------------------ -------- ----------- --------- -------------
New command output
Chassis Module Component Version Description
------------------------ -------- ----------- --------- -------------
Chassis1 N/A BIOS 1.2.3 Chassis BIOS
BMC 5.1 Chassis BMC
Signed-off-by: Taras Keryk <tarasx.keryk@intel.com>
* [BFN] Implementation API for platform component
SONiC has a concept of "platform components"
this may include - CPLD, FPGA, BIOS, BMC, etc.
These changes are needed to read the version of the BIOS and BMC component.
What I did
Create components.py module
Add funcion for reading componet version to thrift interface
How I did it
The previous implementaion didn't have platform components API, so fwutil return an empty list.
After implementation of the platform component API, we have actual list of platform components and firmware versions
How to verify it
Run manually 'fwutil show status' or run unit tests
Previous command output
Chassis Module Component Version Description
------------------------ -------- ----------- --------- -------------
New command output
Chassis Module Component Version Description
------------------------ -------- ----------- --------- -------------
Chassis1 N/A BIOS 1.2.3 Chassis BIOS
BMC 5.1 Chassis BMC
Signed-off-by: Taras Keryk <tarasx.keryk@intel.com>
* [BFN] Implementation API for platform component
get chassis name from json
* [BFN] Implementation API for platform component
Updated platform and platrom_components json
* [BFN] Implementation API for platform component
Fixed spaces in component.py
* [BFN] Implementation API for platform component
Fixed exception in component.py
* Update chassis.py
* [BFN] Implementation API for platform component
Fixed spaces in component.py, chassis.py
* [BFN] Implementation API for platform component: Fixed spaces in component.py, chassis.py
* Fixed exception in get_bios_version
2022-03-10 04:55:06 -06:00
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"name": "BIOS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BMC"
|
|
|
|
}
|
|
|
|
],
|
2022-10-10 20:12:28 -05:00
|
|
|
"thermal_manager": false,
|
2021-11-15 11:41:39 -06:00
|
|
|
"fans": [
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "counter-rotating-fan-1",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "counter-rotating-fan-2",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "counter-rotating-fan-3",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "counter-rotating-fan-4",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "counter-rotating-fan-5",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
2021-11-15 11:41:39 -06:00
|
|
|
}
|
|
|
|
],
|
2022-01-16 23:46:20 -06:00
|
|
|
"fan_drawers": [
|
2021-11-15 11:41:39 -06:00
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "fantray-1",
|
2022-10-10 20:12:28 -05:00
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
2021-11-15 11:41:39 -06:00
|
|
|
"fans": [
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "counter-rotating-fan-1",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "counter-rotating-fan-2",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "counter-rotating-fan-3",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "counter-rotating-fan-4",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "counter-rotating-fan-5",
|
|
|
|
"status_led": {
|
|
|
|
"controllable": false
|
|
|
|
},
|
|
|
|
"speed": {
|
|
|
|
"controllable": false
|
|
|
|
}
|
2021-11-15 11:41:39 -06:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"psus": [
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "psu-1",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "psu_driver-i2c-7-5a:psu1-temp1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "psu_driver-i2c-7-5a:psu1-temp2"
|
|
|
|
}
|
|
|
|
]
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-10-10 20:12:28 -05:00
|
|
|
"name": "psu-2",
|
|
|
|
"thermals": [
|
|
|
|
{
|
|
|
|
"name": "psu_driver-i2c-7-59:psu2-temp1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "psu_driver-i2c-7-59:psu2-temp2"
|
|
|
|
}
|
|
|
|
]
|
2021-11-15 11:41:39 -06:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thermals": [
|
2022-04-05 11:13:08 -05:00
|
|
|
{
|
|
|
|
"name": "com_e_driver-i2c-4-33:cpu-temp"
|
|
|
|
},
|
2021-11-15 11:41:39 -06:00
|
|
|
{
|
|
|
|
"name": "com_e_driver-i2c-4-33:memory-temp"
|
|
|
|
},
|
|
|
|
{
|
2022-04-05 11:13:08 -05:00
|
|
|
"name": "tmp75-i2c-3-48:chip-temp"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-04-05 11:13:08 -05:00
|
|
|
"name": "tmp75-i2c-3-49:exhaust2-temp"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-04-05 11:13:08 -05:00
|
|
|
"name": "tmp75-i2c-3-4a:exhaust-temp"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-04-05 11:13:08 -05:00
|
|
|
"name": "tmp75-i2c-3-4b:intake-temp"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-04-05 11:13:08 -05:00
|
|
|
"name": "tmp75-i2c-3-4c:tofino-temp"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-04-05 11:13:08 -05:00
|
|
|
"name": "tmp75-i2c-3-4d:intake2-temp"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "tmp75-i2c-8-48:outlet-right-temp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "tmp75-i2c-8-49:outlet-left-temp"
|
|
|
|
},
|
2022-04-05 11:13:08 -05:00
|
|
|
{
|
|
|
|
"name": "pch_haswell-virtual-0:temp1"
|
|
|
|
},
|
2021-11-15 11:41:39 -06:00
|
|
|
{
|
|
|
|
"name": "coretemp-isa-0000:package-id-0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "coretemp-isa-0000:core-0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "coretemp-isa-0000:core-1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "coretemp-isa-0000:core-2"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "coretemp-isa-0000:core-3"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sfps": [
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp1"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp2"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp3"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp4"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp5"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp6"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp7"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp8"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp9"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp10"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp11"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp12"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp13"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp14"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp15"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp16"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp17"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp18"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp19"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp20"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp21"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp22"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp23"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp24"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp25"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp26"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp27"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp28"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp29"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp30"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp31"
|
2021-11-15 11:41:39 -06:00
|
|
|
},
|
|
|
|
{
|
2022-01-16 23:46:20 -06:00
|
|
|
"name": "sfp32"
|
2021-11-15 11:41:39 -06:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet0"],
|
|
|
|
"2x50G": ["Ethernet0", "Ethernet2"],
|
|
|
|
"4x25G[10G]": ["Ethernet0", "Ethernet1", "Ethernet2", "Ethernet3"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet4"],
|
|
|
|
"2x50G": ["Ethernet4", "Ethernet6"],
|
|
|
|
"4x25G[10G]": ["Ethernet4", "Ethernet5", "Ethernet6", "Ethernet7"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet8"],
|
|
|
|
"2x50G": ["Ethernet8", "Ethernet10"],
|
|
|
|
"4x25G[10G]": ["Ethernet8", "Ethernet9", "Ethernet10", "Ethernet11"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet12"],
|
|
|
|
"2x50G": ["Ethernet12", "Ethernet14"],
|
|
|
|
"4x25G[10G]": ["Ethernet12", "Ethernet13", "Ethernet14", "Ethernet15"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet16"],
|
|
|
|
"2x50G": ["Ethernet16", "Ethernet18"],
|
|
|
|
"4x25G[10G]": ["Ethernet16", "Ethernet17", "Ethernet18", "Ethernet19"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet20"],
|
|
|
|
"2x50G": ["Ethernet20", "Ethernet22"],
|
|
|
|
"4x25G[10G]": ["Ethernet20", "Ethernet21", "Ethernet22", "Ethernet23"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet24"],
|
|
|
|
"2x50G": ["Ethernet24", "Ethernet26"],
|
|
|
|
"4x25G[10G]": ["Ethernet24", "Ethernet25", "Ethernet26", "Ethernet27"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet28"],
|
|
|
|
"2x50G": ["Ethernet28", "Ethernet30"],
|
|
|
|
"4x25G[10G]": ["Ethernet28", "Ethernet29", "Ethernet30", "Ethernet31"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet32"],
|
|
|
|
"2x50G": ["Ethernet32", "Ethernet34"],
|
|
|
|
"4x25G[10G]": ["Ethernet32", "Ethernet33", "Ethernet34", "Ethernet35"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet36"],
|
|
|
|
"2x50G": ["Ethernet36", "Ethernet38"],
|
|
|
|
"4x25G[10G]": ["Ethernet36", "Ethernet37", "Ethernet38", "Ethernet39"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet40"],
|
|
|
|
"2x50G": ["Ethernet40", "Ethernet42"],
|
|
|
|
"4x25G[10G]": ["Ethernet40", "Ethernet41", "Ethernet42", "Ethernet43"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet44"],
|
|
|
|
"2x50G": ["Ethernet44", "Ethernet46"],
|
|
|
|
"4x25G[10G]": ["Ethernet44", "Ethernet45", "Ethernet46", "Ethernet47"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet48"],
|
|
|
|
"2x50G": ["Ethernet48", "Ethernet50"],
|
|
|
|
"4x25G[10G]": ["Ethernet48", "Ethernet49", "Ethernet50", "Ethernet51"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet52"],
|
|
|
|
"2x50G": ["Ethernet52", "Ethernet54"],
|
|
|
|
"4x25G[10G]": ["Ethernet52", "Ethernet53", "Ethernet54", "Ethernet55"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet56"],
|
|
|
|
"2x50G": ["Ethernet56", "Ethernet58"],
|
|
|
|
"4x25G[10G]": ["Ethernet56", "Ethernet57", "Ethernet58", "Ethernet59"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet60"],
|
|
|
|
"2x50G": ["Ethernet60", "Ethernet62"],
|
|
|
|
"4x25G[10G]": ["Ethernet60", "Ethernet61", "Ethernet62", "Ethernet63"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet64"],
|
|
|
|
"2x50G": ["Ethernet64", "Ethernet66"],
|
|
|
|
"4x25G[10G]": ["Ethernet64", "Ethernet65", "Ethernet66", "Ethernet67"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet68"],
|
|
|
|
"2x50G": ["Ethernet68", "Ethernet70"],
|
|
|
|
"4x25G[10G]": ["Ethernet68", "Ethernet69", "Ethernet70", "Ethernet71"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet72"],
|
|
|
|
"2x50G": ["Ethernet72", "Ethernet74"],
|
|
|
|
"4x25G[10G]": ["Ethernet72", "Ethernet73", "Ethernet74", "Ethernet75"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet76"],
|
|
|
|
"2x50G": ["Ethernet76", "Ethernet78"],
|
|
|
|
"4x25G[10G]": ["Ethernet76", "Ethernet77", "Ethernet78", "Ethernet79"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet80"],
|
|
|
|
"2x50G": ["Ethernet80", "Ethernet82"],
|
|
|
|
"4x25G[10G]": ["Ethernet80", "Ethernet81", "Ethernet82", "Ethernet83"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet84"],
|
|
|
|
"2x50G": ["Ethernet84", "Ethernet86"],
|
|
|
|
"4x25G[10G]": ["Ethernet84", "Ethernet85", "Ethernet86", "Ethernet87"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet88"],
|
|
|
|
"2x50G": ["Ethernet88", "Ethernet90"],
|
|
|
|
"4x25G[10G]": ["Ethernet88", "Ethernet89", "Ethernet90", "Ethernet91"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet92"],
|
|
|
|
"2x50G": ["Ethernet92", "Ethernet94"],
|
|
|
|
"4x25G[10G]": ["Ethernet92", "Ethernet93", "Ethernet94", "Ethernet95"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet96"],
|
|
|
|
"2x50G": ["Ethernet96", "Ethernet98"],
|
|
|
|
"4x25G[10G]": ["Ethernet96", "Ethernet97", "Ethernet98", "Ethernet99"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet100"],
|
|
|
|
"2x50G": ["Ethernet100", "Ethernet102"],
|
|
|
|
"4x25G[10G]": ["Ethernet100", "Ethernet101", "Ethernet102", "Ethernet103"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet104"],
|
|
|
|
"2x50G": ["Ethernet104", "Ethernet106"],
|
|
|
|
"4x25G[10G]": ["Ethernet104", "Ethernet105", "Ethernet106", "Ethernet107"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet108"],
|
|
|
|
"2x50G": ["Ethernet108", "Ethernet110"],
|
|
|
|
"4x25G[10G]": ["Ethernet108", "Ethernet109", "Ethernet110", "Ethernet111"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet112"],
|
|
|
|
"2x50G": ["Ethernet112", "Ethernet114"],
|
|
|
|
"4x25G[10G]": ["Ethernet112", "Ethernet113", "Ethernet112", "Ethernet113"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet116"],
|
|
|
|
"2x50G": ["Ethernet116", "Ethernet118"],
|
|
|
|
"4x25G[10G]": ["Ethernet116", "Ethernet117", "Ethernet118", "Ethernet119"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet120"],
|
|
|
|
"2x50G": ["Ethernet120", "Ethernet122"],
|
|
|
|
"4x25G[10G]": ["Ethernet120", "Ethernet121", "Ethernet122", "Ethernet123"]
|
|
|
|
}
|
2021-02-06 19:38:29 -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[40G]": ["Ethernet124"],
|
|
|
|
"2x50G": ["Ethernet124", "Ethernet126"],
|
|
|
|
"4x25G[10G]": ["Ethernet124", "Ethernet125", "Ethernet126", "Ethernet127"]
|
|
|
|
}
|
2021-02-06 19:38:29 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|