Skip to content

Commit

Permalink
missing no-refresh for exos_facts in Interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Lazukin committed Feb 2, 2023
1 parent 1c0af2b commit c4aad03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- exos_facts - returns timeout error when we use connection type ``network_cli``.
It happened because we send command without ``no-refresh`` and script ``cli2json.py`` stuck in loop while reading console output (https://github.com/ansible-collections/community.network/pull/517).
2 changes: 1 addition & 1 deletion plugins/module_utils/network/exos/facts/legacy/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class Interfaces(FactsBase):

COMMANDS = [
'show switch',
{'command': 'show port config', 'output': 'json'},
{'command': 'show port config no-refresh', 'output': 'json'},
{'command': 'show port description', 'output': 'json'},
{'command': 'show vlan detail', 'output': 'json'},
{'command': 'show lldp neighbors', 'output': 'json'}
Expand Down

0 comments on commit c4aad03

Please sign in to comment.