-
Notifications
You must be signed in to change notification settings - Fork 16
Description
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.