File tree Expand file tree Collapse file tree
osism/tasks/conductor/sonic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -387,7 +387,9 @@ def _add_port_configurations(
387387 elif master_port in breakout_info ["breakout_cfgs" ]:
388388 # Fallback to extracting speed from breakout mode
389389 brkout_mode = breakout_info ["breakout_cfgs" ][master_port ]["brkout_mode" ]
390- if "25G" in brkout_mode :
390+ if "10G" in brkout_mode :
391+ port_speed = "10000"
392+ elif "25G" in brkout_mode :
391393 port_speed = "25000"
392394 elif "50G" in brkout_mode :
393395 port_speed = "50000"
@@ -465,7 +467,9 @@ def _get_breakout_port_valid_speeds(port_speed):
465467
466468 speed_int = int (port_speed )
467469
468- if speed_int == 25000 :
470+ if speed_int == 10000 :
471+ return "10000,1000"
472+ elif speed_int == 25000 :
469473 return "25000,10000,1000"
470474 elif speed_int == 50000 :
471475 return "50000,25000,10000,1000"
You can’t perform that action at this time.
0 commit comments