Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After clearing breakout on front-panel port, supported speeds are incorrect #10

Open
hpersh opened this issue Feb 5, 2019 · 3 comments
Assignees
Labels

Comments

@hpersh
Copy link

hpersh commented Feb 5, 2019

After reboot

root@OPX:~# opx-show-version 
OS_NAME="OPX"
OS_VERSION="3.1.0"
PLATFORM="S6000-ON"
ARCHITECTURE="x86_64"
INTERNAL_BUILD_ID="OpenSwitch blueprint for Dell 1.0.0"
BUILD_VERSION="3.1.0.0-rc1"
BUILD_DATE="2018-12-19T12:31:44-0800"
INSTALL_DATE="2019-01-30T19:15:36+00:00"
SYSTEM_UPTIME= 17 minutes
SYSTEM_STATE= running
UPGRADED_PACKAGES=no
ALTERED_PACKAGES=no

root@OPX:~# opx-show-interface --summary
Port       | Enabled | Operational status | Supported speed
-----------------------------------------------------------
e101-001-0 | no      | down               | 1G 10G 40G     
e101-002-0 | no      | down               | 1G 10G 40G     
e101-003-0 | no      | down               | 1G 10G 40G     
e101-004-0 | no      | down               | 1G 10G 40G     
e101-005-0 | no      | down               | 1G 10G 40G     
e101-006-0 | no      | down               | 1G 10G 40G     
e101-007-0 | no      | down               | 1G 10G 40G     
e101-008-0 | no      | down               | 1G 10G 40G     
e101-009-0 | no      | down               | 1G 10G 40G     
e101-010-0 | no      | down               | 1G 10G 40G     
e101-011-0 | no      | down               | 1G 10G 40G     
e101-012-0 | no      | down               | 1G 10G 40G     
e101-013-0 | no      | down               | 1G 10G 40G     
e101-014-0 | no      | down               | 1G 10G 40G     
e101-015-0 | no      | down               | 1G 10G 40G     
e101-016-0 | no      | down               | 1G 10G 40G     
e101-017-0 | no      | down               | 1G 10G 40G     
e101-018-0 | no      | down               | 1G 10G 40G     
e101-019-0 | no      | down               | 1G 10G 40G     
e101-020-0 | no      | down               | 1G 10G 40G     
e101-021-0 | no      | down               | 1G 10G 40G     
e101-022-0 | no      | down               | 1G 10G 40G     
e101-023-0 | no      | down               | 1G 10G 40G     
e101-024-0 | no      | down               | 1G 10G 40G     
e101-025-0 | no      | down               | 1G 10G 40G     
e101-026-0 | no      | down               | 1G 10G 40G     
e101-027-0 | no      | down               | 1G 10G 40G     
e101-028-0 | no      | down               | 1G 10G 40G     
e101-029-0 | no      | down               | 1G 10G 40G     
e101-030-0 | no      | down               | 1G 10G 40G     
e101-031-0 | no      | down               | 1G 10G 40G     
e101-032-0 | no      | down               | 1G 10G 40G     
eth0       | yes     | up                 | 10M 100M 1G    

*** Note supported speeds for e101-001-0

Break out e101-001-0 as 4x1

root@OPX:~# opx-config-fanout --port e101-001-0 --mode 4x1 --speed 10g
_port 25
_port 26
_port 27
_port 28
Deleting... e101-001-0
Completed...
_port 25
_port 26
_port 27
_port 28
Creating interface e101-001-1
Creating interface e101-001-2
Creating interface e101-001-3
Creating interface e101-001-4
Successfully created interfaces

root@OPX:~# opx-show-interface --summary
Port       | Enabled | Operational status | Supported speed
-----------------------------------------------------------
e101-001-1 | no      | down               | 10G            
e101-001-2 | no      | down               | 10G            
e101-001-3 | no      | down               | 10G            
e101-001-4 | no      | down               | 10G            
e101-002-0 | no      | down               | 1G 10G 40G     
e101-003-0 | no      | down               | 1G 10G 40G     
e101-004-0 | no      | down               | 1G 10G 40G     
e101-005-0 | no      | down               | 1G 10G 40G     
e101-006-0 | no      | down               | 1G 10G 40G     
e101-007-0 | no      | down               | 1G 10G 40G     
e101-008-0 | no      | down               | 1G 10G 40G     
e101-009-0 | no      | down               | 1G 10G 40G     
e101-010-0 | no      | down               | 1G 10G 40G     
e101-011-0 | no      | down               | 1G 10G 40G     
e101-012-0 | no      | down               | 1G 10G 40G     
e101-013-0 | no      | down               | 1G 10G 40G     
e101-014-0 | no      | down               | 1G 10G 40G     
e101-015-0 | no      | down               | 1G 10G 40G     
e101-016-0 | no      | down               | 1G 10G 40G     
e101-017-0 | no      | down               | 1G 10G 40G     
e101-018-0 | no      | down               | 1G 10G 40G     
e101-019-0 | no      | down               | 1G 10G 40G     
e101-020-0 | no      | down               | 1G 10G 40G     
e101-021-0 | no      | down               | 1G 10G 40G     
e101-022-0 | no      | down               | 1G 10G 40G     
e101-023-0 | no      | down               | 1G 10G 40G     
e101-024-0 | no      | down               | 1G 10G 40G     
e101-025-0 | no      | down               | 1G 10G 40G     
e101-026-0 | no      | down               | 1G 10G 40G     
e101-027-0 | no      | down               | 1G 10G 40G     
e101-028-0 | no      | down               | 1G 10G 40G     
e101-029-0 | no      | down               | 1G 10G 40G     
e101-030-0 | no      | down               | 1G 10G 40G     
e101-031-0 | no      | down               | 1G 10G 40G     
e101-032-0 | no      | down               | 1G 10G 40G     
eth0       | yes     | up                 | 10M 100M 1G    

Set e101-001-0 back to 1x1 (no breakout)

root@OPX:~# opx-config-fanout --port e101-001-1 --mode 1x1 --speed 40g
_port 25
_port 26
_port 27
_port 28
Deleting... e101-001-1
Deleting... e101-001-2
Deleting... e101-001-3
Deleting... e101-001-4
Completed...
_port 25
_port 26
_port 27
_port 28
Creating interface e101-001-0
Successfully created interfaces

root@OPX:~# opx-show-interface --summary
Port       | Enabled | Operational status | Supported speed
-----------------------------------------------------------
e101-001-0 | no      | down               | 40G            
e101-002-0 | no      | down               | 1G 10G 40G     
e101-003-0 | no      | down               | 1G 10G 40G     
e101-004-0 | no      | down               | 1G 10G 40G     
e101-005-0 | no      | down               | 1G 10G 40G     
e101-006-0 | no      | down               | 1G 10G 40G     
e101-007-0 | no      | down               | 1G 10G 40G     
e101-008-0 | no      | down               | 1G 10G 40G     
e101-009-0 | no      | down               | 1G 10G 40G     
e101-010-0 | no      | down               | 1G 10G 40G     
e101-011-0 | no      | down               | 1G 10G 40G     
e101-012-0 | no      | down               | 1G 10G 40G     
e101-013-0 | no      | down               | 1G 10G 40G     
e101-014-0 | no      | down               | 1G 10G 40G     
e101-015-0 | no      | down               | 1G 10G 40G     
e101-016-0 | no      | down               | 1G 10G 40G     
e101-017-0 | no      | down               | 1G 10G 40G     
e101-018-0 | no      | down               | 1G 10G 40G     
e101-019-0 | no      | down               | 1G 10G 40G     
e101-020-0 | no      | down               | 1G 10G 40G     
e101-021-0 | no      | down               | 1G 10G 40G     
e101-022-0 | no      | down               | 1G 10G 40G     
e101-023-0 | no      | down               | 1G 10G 40G     
e101-024-0 | no      | down               | 1G 10G 40G     
e101-025-0 | no      | down               | 1G 10G 40G     
e101-026-0 | no      | down               | 1G 10G 40G     
e101-027-0 | no      | down               | 1G 10G 40G     
e101-028-0 | no      | down               | 1G 10G 40G     
e101-029-0 | no      | down               | 1G 10G 40G     
e101-030-0 | no      | down               | 1G 10G 40G     
e101-031-0 | no      | down               | 1G 10G 40G     
e101-032-0 | no      | down               | 1G 10G 40G     
eth0       | yes     | up                 | 10M 100M 1G    

*** Note supported speeds for e101-001-0

@jeff-yin
Copy link
Member

jeff-yin commented Feb 5, 2019

@Tejaswi-Goel do you think this is an issue with the opx-config-fanout command?

@Tejaswi-Goel
Copy link
Contributor

Not sure checking

@Tejaswi-Goel Tejaswi-Goel self-assigned this Feb 5, 2019
@Tejaswi-Goel
Copy link
Contributor

Tejaswi-Goel commented Feb 11, 2019

This bug is expected to be resolved in the next release.
Fix: the breakout mode the interface is currently in it should show the corresponding supported speeds, instead of showing all speeds after initialization. So, for example on platform S6000 after initialization of the interface if it is in 1x1 breakout mode then it should show only 40g speed as supported speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants