summaryrefslogtreecommitdiff
path: root/lib/ansible/module_utils/vyos.py
Commit message (Collapse)AuthorAgeFilesLines
* Add vyos changes for Python3 (#24603)Ganesh Nalawade2017-05-171-8/+13
| | | | | | | | | | | * 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
* Redo #23418 (#23425)Nathaniel Case2017-04-071-1/+6
| | | | | | | | * Check for provider values inside check_args of respective network code * Partial revert of b9ee5aa The no_log change is okay, but take out the action result munging
* Fixes #23388 Network provider masks too much (#23418)Chris Alfonso2017-04-071-1/+1
| | | | | | * Fixes #23388 Network provider masks too much * Fix trailing whitespace
* Vyos config fixes (#21862)Nathaniel Case2017-02-251-1/+1
| | | | | | | | * Fix vyos signatures to match new versions * Fix test cases referring to 'updates' instead of 'commands' * I think this is an artifact of `connection: network_cli`?
* roll up of fixes for vyos base (#21616)Peter Sprygada2017-02-181-2/+4
| | | | | | * adds ssh_keyfile to vyos * fixes play_context mapping to provider * adds missing network_os to play_context * executes close_shell() after module completes
* updates vyos modules to use socket connection (#21228)Peter Sprygada2017-02-131-15/+31
| | | | | | | | * updates all vyos modules to use socket connection * adds vyos local action handler * adds exec_command() to vyos * updates vyos_config local action * update unit test cases * add base class for testing vyos modules
* vyos_config 2.3 (#20577)Nathaniel Case2017-02-021-83/+59
| | | | | | | | | | | | | | | * Rename vyos2 over vyos * Update vyos_config to LocalAnsibleModule Change result key 'updates' -> 'commands' vyos_config is supported by core * vyos_config tests * Enable bracket config use * Sanitize config before use
* fixes issue with setting the terminal length (pager) in vyos (#18546)Peter Sprygada2016-11-211-0/+5
| | | | `set terminal length 0` actually sets `VYATTA_PAGER=cat` `set terminal length [some number]` actually sets `stty length [some number]`
* Cleanup openswitchNathaniel Case2016-09-121-3/+2
| | | | | Also bump get_config in vyos, to pick up the addition of **kwargs Closes #17415
* Vyos cleanupNathaniel Case2016-09-121-2/+2
| | | Addresses #17416
* roll up of updates to vyos shared modulePeter Sprygada2016-09-111-4/+2
| | | | | * cleans up method signature * removes save_config method in favor of super class
* updates vyos shared module and moves functions into vyos_configPeter Sprygada2016-08-241-124/+45
| | | | | | This update moves many of the functions into the vyos_config module to conform with the network 2.2 refactor. This also fixes the load_config method
* Relicense low-hanging fruit to BSD (#17025)Nathaniel Case2016-08-101-13/+22
|
* adds new function to check config for unsupported commandsPeter Sprygada2016-07-151-0/+13
| | | | | | Some commands fail when being set so the load_config function will now filter those commands out and return them in the result key as filtered.
* add common argument save_config to vyos_argument_specPeter Sprygada2016-07-141-6/+6
|
* bug fixes in vyos shared modulePeter Sprygada2016-07-051-10/+18
| | | | | | * fixes lots of bugs with get_config function to perform correctly * refactors load_config into load_candidate * adds load_config function to convert commands to NetworkConfig
* add get_config function to vyos shared modulePeter Sprygada2016-07-041-3/+8
| | | | | | This adds a new shard function get_config to retrieve the device configuration either from module arguments or remotely from the device.
* initial commit of vyos shared module with Cli transportPeter Sprygada2016-06-231-0/+154
This adds support for the VyOS network operating system using the Cli transport. This module will simplify building VyOS based modules in Ansible