Use show command to support wider platform set for nxos_interface module (#33037)

* Use show command to support wider platform set

* Fix unit tests
This commit is contained in:
Mike Wiebe 2017-11-20 13:59:09 -05:00 committed by John R Barker
commit 95a2140f4b
3 changed files with 847 additions and 82 deletions

View file

@ -378,7 +378,7 @@ def get_interfaces_dict(module):
keys. Each value is a list of interfaces of given interface (key)
type.
"""
command = 'show interface status'
command = 'show interface'
try:
body = execute_show_command(command, module)[0]
except IndexError: