Commit Graph

220 Commits (d7b6289539208c41e4547fbbb86c4a53cfca4ea0)

Author SHA1 Message Date
Peter Sprygada d7b6289539 adds new module ops_facts
This adds a new module for collect device facts from remote devices
running OpenSwitch.  This module is useful when collecting fact information
over CLI transport.
9 years ago
Peter Sprygada 5814748b4d add support for netconf to junos_config
The junos_config module now supports the netconf transport.
9 years ago
Peter Sprygada 9b5c71ec03 Merge pull request #3534 from privateip/junos_template
add support for netconf to junos_template
9 years ago
Peter Sprygada a19410483d add support for netconf to junos_template
This commit adds support for sending full syntanx junos configurations using
junos_template and netconf
9 years ago
Peter Sprygada 36755e5fe2 Merge pull request #3532 from privateip/junos_command
fixes docstring format in junos_command
9 years ago
Peter Sprygada 14ea46199a Merge pull request #3519 from privateip/junos_facts
adds new junos_facts module
9 years ago
Peter Sprygada 2d9c3c02e5 fixes docstring format in junos_command 9 years ago
Peter Sprygada a6dc526570 adds config_format argument to the facts module
this change adds config_format argument with choices of xml, set or text to
specify the desired format of the config returned from the remote device.  The
default value is text
9 years ago
Peter Sprygada c41cb48007 Merge pull request #9 from dgarros/junos_modules
Add support for xml, set and text format for config
9 years ago
Peter Sprygada 297b93dd1b Merge pull request #3520 from privateip/junos_netconf
adds new module junos_netconf used for configuring netconf services
9 years ago
Peter Sprygada fadd307b35 adds new module junos_netconf used for configuring netconf services
This module allows playbook operators to configure the netconf service in
junos for use with other juniper modules.
9 years ago
Peter Sprygada 9a66410899 adds new junos_facts module
The junos_facts module will collect basic system inforamtion about remote
devices running the Junos operating system
9 years ago
Peter Sprygada 8c63a02cc8 add support to junos_command module for netconf transport
This adds support for using netconf to the junos_command option and removes
the use of cli as a transport
9 years ago
jctanner 804a8e6378 Fix status check on get_url with file schemas and update the examples. (#3512)
Addresses #3511
9 years ago
Brian Coca c64b7a71fb removed usless default doc 9 years ago
Justin Kennedy 7a2b00b625 Updating examples to include required fields (#3242)
Updated examples to include required fields (host, username).  Also updated src option to be listed as required.
9 years ago
Kei Nohguchi 795b3c25cd ops_template.py: Taking care of the JSON src variable (#3313)
* ops_template.py: Taking care of the JSON src variable

* ops_template.py: Specify type='str' for src argument to be explicit
9 years ago
Patrick Ogenstad 5409ed1b28 Fix documentation example, missing ")" 9 years ago
Matt Davis 6d0e9327e3 Merge pull request #3342 from gundalow/docsfix
ansible-validate-modules part 1: Correct documentation
9 years ago
Peter Sprygada 6b8a92045f handles config replace properly in eos_template
fixes 3366
9 years ago
John Barker 531eed80b3 Replace BOOLEANS with true/false 9 years ago
Peter Sprygada cf01087a30 refactor iosxr_template module to remove old diff functions
this replaces the old diff functions with the netcfg shared module for
handling configuration diffs between running and candidate
9 years ago
Peter Sprygada 0f724f625d refactor iosxr_config module to remove old diff functions
this replaces the old diff functions with the netcfg lib for handling
configuration diffs between running and candidate configurations
9 years ago
Peter Sprygada 86f9c672f0 cleanup iosxr_command module to be consistent with other network modules
this cleans up some of the function calls and output keys to be consistent
with other command modules
9 years ago
Peter Sprygada 25baca1eb8 refactors nxos_template and removes diff functions
replaces the diff functions with the netcfg shared module for handling
configuration diff
9 years ago
Peter Sprygada 639e324fdb refactors nxos_config and removes diff functions
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
9 years ago
Peter Sprygada 11c00c2278 cleans up nxos_command and adds some additonal info on exception
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
9 years ago
Peter Sprygada ad519c2f5c refactors eos_template to remove diff functions
replaces functions with netcfg shared library for handling configuration
diffs
9 years ago
Peter Sprygada 5d0ee49067 refactors eos_config to remove config diff functions
replaces with netcfg shared library for handling configuration diffs
9 years ago
Peter Sprygada c500b2ff99 refactors the ios_template module to use netcfg diff
removes the functions for performing configuration diffs to use the
netcfg shared lib
9 years ago
Peter Sprygada df32f64898 refactor ios_config to use netcfg diff shared lib
Move the configuration diff code from the module to the shared lib
9 years ago
Toshio Kuratomi a2f41dfb04 Give headers a default so that we can add to it. 9 years ago
Peter Sprygada bff7cb6cad fixes #3274 9 years ago
Toshio Kuratomi d71b9bae89 If file attribs are specified set them even if file already exists.
Fixes #11821
9 years ago
Toshio Kuratomi eebd6c93ba Fix documentation 9 years ago
James Cammarata d7422c02ad Merge pull request #3010 from grybak-arista/exit-filter
Filter exit commands when no other commands are included
9 years ago
Peter Sprygada eef9c54874 update to nxos_command with additional exception handling
This update adds exception handling to catch errors when trying to parse
command output to json.  It also removes the dependency on importing json
opting to use the AnsibleModule methods instead
9 years ago
Peter Sprygada f46ebf2c30 Merge pull request #3141 from privateip/module_ops_command
initial add of ops_command module
9 years ago
Peter Sprygada 154fc16b0e Merge pull request #3142 from privateip/module_ops_config
initial add of ops_config module
9 years ago
Peter Sprygada c0de719539 Merge pull request #3222 from jrk07/patch-1
Merged thanks @jrk07
9 years ago
Peter Sprygada d4e687f894 doc string fixes for eos_config
This updates eos_config with some fixes to the documentation string
9 years ago
Peter Sprygada 416dd73b09 bugfix in eos_template for backing up config
eos_template would connect to the remote device to get the running config
for backup even if backup is not needed.
9 years ago
Peter Sprygada cf3287b312 minor function clean ups in eos_command
This commit cleans up a couple of functions and removes the json
import to use the json methods from AnsibleModule
9 years ago
jrk07 3cc277bc08 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.
9 years ago
Peter Sprygada e3ca92e97d bugfix for ios_config module
This commit address a bug in the ios_config module when using the
match: strict argument.  When the argument is used, the module will
compare the configuration block same as match: exact which is not the
intended behavior.  This commit updates the behavior to propertly handle
the strict argument.
9 years ago
Peter Sprygada 11056c8ed2 bugfix for handling match=strict in eos_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
9 years ago
Peter Sprygada e9ab4d688d bugfix for handling match=strict in iosxr_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
9 years ago
Peter Sprygada a7f67921fd bugfix for handling match=strict in nxos_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
9 years ago
Peter Sprygada c17a2c0206 Merge pull request #3138 from privateip/module_ops_template
refactor arguments in ops_template
9 years ago
Matt Martz 3c59eedb9b Don't pass follow_redirects to fetch_url, use module.params instead 9 years ago