OSISM release version
latest
What's the problem?
In the current version of python-osism (ebde575), for the SONiC config generation, breakout speed detections / conversions are handled differently when using EthX/Y/Z format compared to SONiC EthernetX format.
For the EthX/Y/Z format, beginning from the following line:
|
if interface_speed == 10000 and num_subports == 4: |
4x10G, 4x25G, 4x50G, 4x100G and 4x200G are supported.
For the EthernetX format, beginning from the following line:
|
if interface_speed == 25000: |
Only 4x25G and 4x50G are implemented.
We specifically seek 4x10G breakout support for 40G/100G interfaces from Edgecore 7726-32x switches.
We tried bluntly adding the following code to the if statement for EthernetX format as the downstream code seems to be the same for each format and it seemed to produce the expected results. Environment is running osism 0.20260615.1.
elif interface_speed == 10000:
brkout_mode = "4x10G"
Maybe both formats can be handled the same regarding possible interface / breakout speeds. We might of cause be missing something preventing those to simply be the same.
References to existing reports
References to existing bug reports, mailing lists, ...
Severity
low
Urgency
low
OSISM release version
latest
What's the problem?
In the current version of python-osism (ebde575), for the SONiC config generation, breakout speed detections / conversions are handled differently when using
EthX/Y/Zformat compared to SONiCEthernetXformat.For the
EthX/Y/Zformat, beginning from the following line:python-osism/osism/tasks/conductor/sonic/interface.py
Line 753 in ebde575
4x10G, 4x25G, 4x50G, 4x100G and 4x200G are supported.
For the
EthernetXformat, beginning from the following line:python-osism/osism/tasks/conductor/sonic/interface.py
Line 923 in ebde575
Only 4x25G and 4x50G are implemented.
We specifically seek 4x10G breakout support for 40G/100G interfaces from Edgecore 7726-32x switches.
We tried bluntly adding the following code to the if statement for
EthernetXformat as the downstream code seems to be the same for each format and it seemed to produce the expected results. Environment is running osism 0.20260615.1.Maybe both formats can be handled the same regarding possible interface / breakout speeds. We might of cause be missing something preventing those to simply be the same.
References to existing reports
References to existing bug reports, mailing lists, ...
Severity
low
Urgency
low