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

sonic-cli shell doesn't accept "interface Ethernet4" without space #194

Open
nagarwal03 opened this issue Oct 21, 2019 · 1 comment
Open
Assignees

Comments

@nagarwal03
Copy link

Currently accepted: "interface Ethernet 4" but doesn't accept: "interface Ethernet4"

Ethernet4 without space is the qualified name in the show commands.

Eg:
(Only accepts command with space between "Ethernet" and interface number)
sonic#
sonic# configure terminal
sonic(config)# interface Ethernet 4
sonic(conf-if-Ethernet4)# exit
sonic(config)#
sonic(config)#
sonic(config)# interface Ethernet
Ethernet Select an interface

sonic(config)# interface Ethernet
Unsigned integer Physical interface(Multiples of 4)

Hence, unable to use get_links API in spytest framework to get interface name with space between "Ethernet" and interface number.

Affected scripts: /tests/dell/ut/cli/vlan/test_vlan.py. The script is presently hard-coded with the interface values. I will update the script after the issue is addressed.

@ByReaL
Copy link

ByReaL commented Jan 28, 2020

would you be able to share a link to "spytest framework" please

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

No branches or pull requests

3 participants