sonic-buildimage/device/mellanox/x86_64-mlnx_msn3800-r0
Sangita Maity 18263c99dd
[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 00:13:33 -08:00
..
ACS-MSN3800 [DPB] [Mellanox] added capability files for SN3800 platform (#6013) 2021-01-17 10:57:27 +02:00
Mellanox-SN3800-C64 Support shared headroom pool for Microsoft SKUs (#6366) 2021-02-16 08:53:40 -08:00
Mellanox-SN3800-D24C52 Support shared headroom pool for Microsoft SKUs (#6366) 2021-02-16 08:53:40 -08:00
Mellanox-SN3800-D28C50 Support shared headroom pool for Microsoft SKUs (#6366) 2021-02-16 08:53:40 -08:00
Mellanox-SN3800-D112C8 Support shared headroom pool for Microsoft SKUs (#6366) 2021-02-16 08:53:40 -08:00
plugins [Mellanox]Implement plugins for PSU, fan and thermal (#4041) 2020-01-24 11:27:32 -08:00
default_sku [mellanox]: Added SN3800 platform (#3262) 2019-08-01 16:25:44 -07:00
pcie.yaml add pcied config files for mellanox platform (#5669) 2020-11-02 19:45:36 -08:00
platform_components.json [Mellanox] Update platform components config files. (#5685) 2020-10-25 19:44:37 +02:00
platform_reboot [mellanox]: Added SN3800 platform (#3262) 2019-08-01 16:25:44 -07:00
platform_wait [mellanox]: Added SN3800 platform (#3262) 2019-08-01 16:25:44 -07:00
platform.json [DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831) 2021-02-26 00:13:33 -08:00
pmon_daemon_control.json [mellanox] Update SN3800 device configs. (#3633) 2019-10-19 12:11:58 +03:00
port_peripheral_config.j2 [Dynamic buffer calc] Support dynamic buffer calculation (#6194) 2020-12-13 11:35:39 -08:00
sensors.conf [Mellanox] Fix error in sensors.conf for 3700/3700c/3800 (#4506) 2020-04-30 10:30:58 -07:00
system_health_monitoring_config.json [Mellanox] Add system health configuration file for Mellanox platforms (#4834) 2020-07-13 10:20:22 -07:00
thermal_policy.json Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00