sonic-buildimage/device/mellanox/x86_64-mlnx_msn2700-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-MSN2700 [DPB] [Mellanox] added capability files for SN2700 platform (#6003) 2021-01-17 10:42:42 +02:00
Mellanox-SN2700 Support shared headroom pool for Microsoft SKUs (#6366) 2021-02-16 08:53:40 -08:00
Mellanox-SN2700-C28D8 [DPB] [Mellanox] added capability files for SN2700 platform (#6003) 2021-01-17 10:42:42 +02:00
Mellanox-SN2700-D40C8S8 Add new SKU of Mellanox-SN2700-D40C8S8 (#6876) 2021-02-24 10:34:12 -08:00
Mellanox-SN2700-D48C8 Support shared headroom pool for Microsoft SKUs (#6366) 2021-02-16 08:53:40 -08:00
plugins [Mellanox] Add support for SN4600 system (#6879) 2021-02-25 09:30:43 +02:00
default_sku [updategraph] add support to use preset config instead of default minigraph (#2050) 2018-09-21 22:01:10 -07:00
installer.conf [installer]: Move platform-specific files under new device/ tree (#450) 2017-03-29 04:17:49 -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] platform_reboot - sync & umount fs before power cycle (#3430) 2019-09-17 09:38:30 -07:00
platform_wait [mellanox]: Enhance pmon synchronization with hw-mgmt platform counters. (#3885) 2019-12-17 10:58:55 -08: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] Add python3 support for Mellanox platform API (#6175) 2020-12-11 10:51:31 -08:00
sensors.conf [Mellanox] Add sensors labels for human readable output for MSN2700 (#5661) 2020-10-19 16:02:27 -07:00
system_health_monitoring_config.json [system-health] Add support for monitoring system health (#4835) 2020-10-12 11:12:49 +03:00
thermal_policy.json [Mellanox] Never disable kernel thermal algorithm at real-time (#4638) 2020-05-26 10:46:29 -07:00