Chris Alfonso
d4bd54d3b8
Fixes #23388 Network provider masks too much ( #23418 )
...
* Fixes #23388 Network provider masks too much
* Fix trailing whitespace
2017-04-07 14:34:47 -06:00
Nathaniel Case
9b9ed59d98
Vyos config fixes ( #21862 )
...
* 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`?
2017-02-25 21:14:40 -05:00
Peter Sprygada
c875393916
roll up of fixes for vyos base ( #21616 )
...
* adds ssh_keyfile to vyos
* fixes play_context mapping to provider
* adds missing network_os to play_context
* executes close_shell() after module completes
2017-02-18 09:29:17 -05:00
Peter Sprygada
8adb108aa9
updates vyos modules to use socket connection ( #21228 )
...
* 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
2017-02-13 10:41:22 -05:00
Nathaniel Case
d87fc9605f
vyos_config 2.3 ( #20577 )
...
* 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
2017-02-02 13:12:26 -05:00
Peter Sprygada
69649358b1
fixes issue with setting the terminal length (pager) in vyos ( #18546 )
...
`set terminal length 0` actually sets `VYATTA_PAGER=cat`
`set terminal length [some number]` actually sets `stty length [some number]`
2016-11-21 15:47:48 +00:00
Nathaniel Case
fcd4be28ee
Cleanup openswitch
...
Also bump get_config in vyos, to pick up the addition of **kwargs
Closes #17415
2016-09-12 13:35:57 -04:00
Nathaniel Case
2077e32ddd
Vyos cleanup
...
Addresses #17416
2016-09-12 11:19:09 -04:00
Peter Sprygada
75f1573ed5
roll up of updates to vyos shared module
...
* cleans up method signature
* removes save_config method in favor of super class
2016-09-11 23:35:54 -04:00
Peter Sprygada
90ef5bf4a6
updates vyos shared module and moves functions into vyos_config
...
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
2016-08-24 10:17:31 -04:00
Nathaniel Case
125c53e691
Relicense low-hanging fruit to BSD ( #17025 )
2016-08-10 10:45:54 -07:00
Peter Sprygada
05ca246ddc
adds new function to check config for unsupported commands
...
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.
2016-07-15 16:12:12 -04:00
Peter Sprygada
f0c8c9e55c
add common argument save_config to vyos_argument_spec
2016-07-14 07:29:24 -07:00
Peter Sprygada
f30a836063
bug fixes in vyos shared module
...
* 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
2016-07-05 20:27:11 -04:00
Peter Sprygada
062db03f99
add get_config function to vyos shared module
...
This adds a new shard function get_config to retrieve the device
configuration either from module arguments or remotely from the
device.
2016-07-04 22:10:39 -04:00
Peter Sprygada
77922f82e2
initial commit of vyos shared module with Cli transport
...
This adds support for the VyOS network operating system using the
Cli transport. This module will simplify building VyOS based
modules in Ansible
2016-06-23 12:27:33 -07:00