mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
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:
committed by
John R Barker
parent
c64eed16fe
commit
95a2140f4b
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user