You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Dynamic Port Breakout feature requires all YANG-models to be fully aligned with CONFIG_DB.
If some engineer extends the CONFIG_DB with the new fields, those fields needed to be represented in the appropriate .yang file.
CONFIG_DB was extended with the field buffer_model need to add representation of this field inside the sonic-device_metadata.yang
Steps to reproduce the issue:
Run the command config interface breakout <interface> <breakout_mode>
Describe the results you received:
root@arc-switch1038:/usr/local/yang-models# config interface breakout Ethernet0 2x100G[50G,40G,25G,10G,1G] -v -y
Running Breakout Mode : 1x200G[100G,50G,40G,25G,10G,1G]
Target Breakout Mode : 2x100G[50G,40G,25G,10G,1G]
Ports to be deleted :
{
"Ethernet0": "200000"
}
Ports to be added :
{
"Ethernet0": "100000",
"Ethernet2": "100000"
}
After running Logic to limit the impact
Final list of ports to be deleted :
{
"Ethernet0": "200000"
}
Final list of ports to be added :
{
"Ethernet0": "100000",
"Ethernet2": "100000"
}
Loaded below Yang Models
['sonic-acl', 'sonic-breakout_cfg', 'sonic-device_metadata', 'sonic-device_neighbor', 'sonic-extension', 'sonic-interface', 'sonic-loopback-interface', 'sonic-port', 'sonic-portchannel', 'sonic-types', 'sonic-versions', 'sonic-vlan']
Note: Below table(s) have no YANG models:
BGP_NEIGHBOR, FLEX_COUNTER_TABLE, FEATURE, CRM, TELEMETRY,
Data Loading Failed
Failed to break out Port. Error: Failed to load the config. Error: ConfigMgmtDPB Class creation failed
Describe the results you expected:
root@arc-switch1038:/usr/local/yang-models# config interface breakout Ethernet0 2x100G[50G,40G,25G,10G,1G] -v -y
Running Breakout Mode : 1x200G[100G,50G,40G,25G,10G,1G]
Target Breakout Mode : 2x100G[50G,40G,25G,10G,1G]
Ports to be deleted :
{
"Ethernet0": "200000"
}
Ports to be added :
{
"Ethernet0": "100000",
"Ethernet2": "100000"
}
After running Logic to limit the impact
Final list of ports to be deleted :
{
"Ethernet0": "200000"
}
Final list of ports to be added :
{
"Ethernet0": "100000",
"Ethernet2": "100000"
}
Loaded below Yang Models
['sonic-acl', 'sonic-breakout_cfg', 'sonic-device_metadata', 'sonic-device_neighbor', 'sonic-extension', 'sonic-interface', 'sonic-loopback-interface', 'sonic-port', 'sonic-portchannel', 'sonic-types', 'sonic-versions', 'sonic-vlan']
Note: Below table(s) have no YANG models:
BGP_NEIGHBOR, FEATURE, TELEMETRY,
Do you wish to Continue? [y/N]: y
Breakout process got successfully completed.
Please note loaded setting will be lost after system reboot. To preserve setting, run `config save`.
Additional information you deem important (e.g. issue happens only occasionally):
FYI, this is a degradation on recent master identified while testing Mellanox PRs to support DPB.
Note, that on earlier hash from master this was not observed.
It is not a blocker for merging Mellanox DPB files but it means the feature is not fully working as expected.
FYI, this is a degradation on recent master identified while testing Mellanox PRs to support DPB.
Note, that on earlier hash from master this was not observed.
It is not a blocker for merging Mellanox DPB files but it means the feature is not fully working as expected.
Yes, this is not the blocker for all DPB PR's. This means that the feature is not fully working as expected.
Description
The Dynamic Port Breakout feature requires all YANG-models to be fully aligned with CONFIG_DB.
If some engineer extends the CONFIG_DB with the new fields, those fields needed to be represented in the appropriate .yang file.
CONFIG_DB was extended with the field
buffer_model
need to add representation of this field inside the sonic-device_metadata.yangSteps to reproduce the issue:
Run the command
config interface breakout <interface> <breakout_mode>
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: