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