summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/terminal/iosxr.py
Commit message (Collapse)AuthorAgeFilesLines
* Add iosxr changes for Python3 (#24605)Ganesh Nalawade2017-05-171-11/+12
| | | | | | | | | | * Add iosxr changes for Python3 Make `execute_command` arguments and its return value complaint to PY3 changes made in PR #24431 * Fix CI issue
* Set terminal width for network *_command modules to avoid paging (#23728)Trishna Guha2017-04-251-1/+1
| | | Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* clean up of terminal plugins (#21549)Peter Sprygada2017-02-171-6/+3
| | | | | | * removes unneeded supports_multiplexing var * refactors terminal_prompts_re to terminal_stdout_re * refactors terminal_errors_re to terminal_stderr_re * updates network_cli unit test cases
* removes network os guess static method (#19467)Peter Sprygada2016-12-191-9/+2
| | | | | | For devices that do not support mutliplexing, we cannot automatically determine the network os. This removes the os guess static method from the terminal plugin. For this devices, the network_os value must be configured
* adds feature to try to auto determine network_os (#18674)Peter Sprygada2016-11-301-0/+6
| | | | | This updates the network_cli connection plugin to attempt to automatically determine the remote device os. The device network os discovery can be overridden by setting the ansible_network_os value.
* adds two new plugins that use ansible-connection for persistence (#18572)Peter Sprygada2016-11-281-0/+55
* adds new connection plugin `network_cli` which builds on paramiko * adds new plugin `terminal` used for manipulating network_cli terminals * adds new field to play_context `network_os` settable as ansible_network_os This commit adds the plugins necesary to establish a persistent cli connection to network devices of ssh. It builds on the paramiko connection plugin to create a shell environment that will persistent through ansible-connection. The `newtork_cli` plugin then uses the network_os in the instance of PlayContext to load the appropriate network OS environment plugin for handling opening and closing of shells as well as privilege escalation.