John R Barker
177dcadbc0
deprecated _template network modules: Rename in modules-core ( #5072 )
2016-12-08 11:25:14 -05:00
Nathaniel Case
aa82f48dc8
Network module code cleanup ( #5061 )
...
* Fix imports in junos_template
* Python 3 compatibility in eos_command
* Python 3 compatibility for ios_command
* Clean up issues with ios_facts
* Python 3 compatibility for ios_facts
* Import shuffle in ios_template
* Python 3 compatibility for iosxr_command
* Clean up iosxr_facts.py
* Python 3 compatibility for iosxr_facts
* Python 3 compatibility for junos_command
* Python 3 compatibility for ops_command
* Cleanup issues with ops_facts
* Python 3 compatibility for ops_facts
* Cleanup issues with ops_template
* Python 3 compatibility for vyos_command
* Cleanup issues with vyos_facts
* Python 3 compatibility for vyos_facts
2016-12-08 11:25:14 -05:00
Peter Sprygada
d6e16ded3f
fix bug in ios_template when include_defaults is set to true
...
Module was ignoring include_defaults argument. This fixes the issue
such that the correct configuration is returned
2016-12-08 11:25:02 -05:00
Peter Sprygada
8f303981d4
update ios_template module using refactored network shared modules
...
This updates the ios_template module to work with the network shared
modules introduced in Ansible 2.2
Tested in IOS 15.6(1)T
2016-12-08 11:24:54 -05:00
John R Barker
1357e7e83a
ios & iosxr Documentation improvements ( #4321 )
2016-12-08 11:24:48 -05:00
Rob Phoenix
6339398e7c
various typo corrections to ios network modules
2016-12-08 11:24:46 -05:00
Peter Sprygada
438b9328ea
fixup ios_template module to use NetworkModule
...
This removes the get_module() factory function and directly creates
an instance of NetworkModule. This commit includes some minor clean
up to transition to the ios shared module for 2.2
2016-12-08 11:24:43 -05:00
Brian Coca
34a3bc043a
removed usless default doc
2016-12-08 11:24:19 -05:00
Justin Kennedy
ab4b8e0847
Updating examples to include required fields ( #3242 )
...
Updated examples to include required fields (host, username). Also updated src option to be listed as required.
2016-12-08 11:24:19 -05:00
John Barker
d531eb146d
Replace BOOLEANS with true/false
2016-12-08 11:24:17 -05:00
Peter Sprygada
006c11cf34
refactors the ios_template module to use netcfg diff
...
removes the functions for performing configuration diffs to use the
netcfg shared lib
2016-12-08 11:24:15 -05:00
jrk07
ca86923eb7
Doc Update: ios_template.py title and example
...
ios_template.py was named ios_config when viewing docs. The examples also had net_config still. Updated those here.
2016-12-08 11:24:12 -05:00
Peter Sprygada
25d724a88d
update ios_template doc strings and return values
...
Sets the return values from ios_template to be consistent with the rest
of the network modules. Return values are now updates and responses
2016-12-08 11:24:04 -05:00
Peter Sprygada
c5255a1d9e
initial add of ios_template module
...
This adds a new module for working with IOS devices and building configurations
using templates.
2016-12-08 11:24:03 -05:00