Skip to content

Commit

Permalink
Missing no-refresh for exos_facts in Interfaces (ansible-collections#517
Browse files Browse the repository at this point in the history
)
  • Loading branch information
plazukin authored and Pavel Lazukin committed Feb 27, 2023
1 parent c771478 commit 2139af5
Show file tree
Hide file tree
Showing 3 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 2139af5

Please sign in to comment.