Open dmytroxshevchuk opened 3 years ago
Please take a look possible way for resolve this issue. For now I created 2 PRs for resolve that: https://github.com/Azure/sonic-buildimage/pull/6660 https://github.com/Azure/sonic-utilities/pull/1492 For resolve the issue we need merge both PR.
FYI: PR 1492 depends from 6660, so we need merge 6660 after that CI will pass and then we can merge 1492. In any case we can merge 6660 without 1492 and it will work.
@zhenggen-xu - could you please provide input on the issue, thanks.
The child port optional field values were not part of the initial DPB design. If we would like the DPB to take care of setting that automatically, we would need enhance the design to have the breakout-mode mapping to fields/values in platform.json, so we can apply them with our defined values.
Without those fields available, we could use CLI to set the autoneg and fec etc manually. If the CLI is not available, we should add them, not just for DPB but for generic operations too.
Hello, I would like to ask if there are any results regarding this series of related issues? I noticed that #6660 is still open. After completing DPB, if Fec is not set and passed to the chip vendor, will there be any unexpected issues? Moreover, as speeds continue to increase, should it be mandatory to configure Fec?
Description
Dynamic Port Breakout does not work properly because of new port configuration is not consist optional fields for that port. For example if we have installed
fec
field for parent port, than after DPBfec
will not be set for child ports.Steps to reproduce the issue:
"fec": "rs"
config_db.json
usinghwsku.json
andplatform.json
show interface status
command and take a look that thefec
is filled in the correct valuers
sudo config interface breakout Ethernet0 2x50G -f
for split single interfaceEthernet0
into 2 interfacesEthernet0
andEthernet2
show interface status
command and take a look that thefec
field is filled asN/A
forEthernet0
andEthernet2
interfacessudo config interface breakout Ethernet0 1x100G -f
for unite 2 interfacesEthernet0
andEthernet2
into single interfaceEthernet0
show interface status
command and take a look that thefec
field still in N/A state forEthernet0
Ethernet0
/fec
field in step 3 (before DPB flow) and in step 8 (after DPB flow)Describe the results you received:
Default configuration of ports after apply config_db.json generated using platform.json, hwsku.json:
After first execution of DPB using
sudo config interface breakout Ethernet0 2x50G -f
After second execution of DBP using
sudo config interface breakout Ethernet0 1x100G[40G] -f
Describe the results you expected:
Default configuration of ports after apply config_db.json generated using platform.json, hwsku.json:
After first execution of DPB using
sudo config interface breakout Ethernet0 2x50G -f
:After second execution of DPB using
sudo config interface breakout Ethernet0 1x100G[40G] -f
:Configurations
hwsku.json:
platform.json:
config_db.json:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):