| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
But if we tell the formatter that the var is a number, it works
|
|
|
|
|
|
|
|
|
|
|
| |
* Add vyos changes for Python3
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
pep8 fixes
* Fix CI issues
|
|
|
| |
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* Detect VyOS based on /etc/issue (support 1.0.5)
VyOS didn't contain `vyos` in `/proc/version`
* Update vyos.py
|
|
|
|
|
|
|
|
| |
* Peter's new module_utils/vyos
* Update vyos_command
* Restore `set terminal length $ANSIBLE_VYOS_TERMINAL_LENGTH` in vyos
* vyos_command tests
* Remove provider mentions from vyos_command
* Extend get_config to take (and cache) various `show configuration` commands
|
|
|
|
|
| |
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 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.
|