community.general/lib/ansible/plugins/terminal
Ganesh Nalawade 311918828f
Fix double prompt issue in network_cli (#35439)
Fixes #33993

In current implementation while trying to fetch the
current cli prompt terminal plugin executes `\r` on remote host.

This causes if command execution results in a prompt for
example executing `enable` command results in `Password:` prompt
there by executing `\r` on password prompt which is not intended.

To fix it while fetching current prompt from terminal plugin use `get_prompt()`
api in network_cli that returns the latest matched prompt instead of
unnecessary executing `\r` on remote host.
2018-01-31 11:43:08 +05:30
..
__init__.py Fix double prompt issue in network_cli (#35439) 2018-01-31 11:43:08 +05:30
aireos.py New module aireos_command (#26769) 2017-07-19 23:14:52 +05:30
aruba.py Added regex to recognize prompt (#31947) 2017-10-23 19:34:10 +05:30
asa.py Auth to become (#33319) 2017-11-28 16:28:58 -05:00
bigip.py Adds a tmsh command fallback (#33592) 2017-12-05 13:03:16 -08:00
ce.py Contributing new lib/ansible/plugins/terminal/ce.py module to manage HUAWEI data center CloudEngine switch (#21653) 2017-05-19 08:43:37 +01:00
dellos6.py 2.5 Plugin Environment support and Testcases for dellos6 modules (#34890) 2018-01-22 12:34:21 +00:00
dellos9.py Ansible 2.5 feature support for dellos9 (#34880) 2018-01-23 13:59:27 +00:00
dellos10.py Auth to become (#33319) 2017-11-28 16:28:58 -05:00
enos.py Changing BSD to GPL (#34909) 2018-01-24 11:55:33 -05:00
eos.py Auth to become (#33319) 2017-11-28 16:28:58 -05:00
ios.py Fix enable subprompt (#34723) 2018-01-24 07:24:22 -07:00
iosxr.py Fix terminal prompt re in ios and iosxr to match newline (#34585) 2018-01-24 19:21:04 +05:30
ironware.py Auth to become (#33319) 2017-11-28 16:28:58 -05:00
junos.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
nxos.py Fix nxos terminal plugin regex to support certain commands (#35186) 2018-01-23 09:04:13 +05:30
onyx.py Mellanox OS name change: MLNXOS changed to ONYX (#34753) 2018-01-11 22:21:17 +00:00
sros.py updates the prompt regexp for prompt handling in sros (#28015) 2017-08-10 12:59:49 -04:00
vyos.py Python3 chokes on casting int to bytes (#24952) 2017-05-23 15:58:37 -07:00