Commit Graph

19 Commits (bfa0a94c272df08cd56d86e15b0404e4dd9be06c)

Author SHA1 Message Date
Patrick Ogenstad 5409ed1b28 Fix documentation example, missing ")" 9 years ago
John Barker 531eed80b3 Replace BOOLEANS with true/false 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 bff7cb6cad fixes #3274 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 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
chouseknecht 573ba42b03 Moved Conditional class to netcfg. 9 years ago
Peter Sprygada d8615683e5 update nxos_config doc strings and return values
This commit unifys the return values for the nxos_config module to always
return updates and responses
9 years ago
Peter Sprygada ef89e0eee6 update nxos_template doc strings and return values
This updates the nxos_template doc string to unify the return values
across all network modules.  This change now returns stdout, stdout_lines
and failed_conditionals
9 years ago
Peter Sprygada c566cb3277 update nxos_command doc strings and return values
This modifies the return values to make them consistent across all
network command modules.  The module now returns stdout, stdout_lines
and failed_conditionals
9 years ago
chouseknecht f5a92e3565 Adding nxos_nxapi module. 9 years ago
Peter Sprygada fca78058db fixup docstring in nxos_config module 9 years ago
Peter Sprygada 82a051d150 Merge pull request #2897 from privateip/module_nxos_command
initial add of new module nxos_command
9 years ago
Peter Sprygada 6cddd47e67 Merge pull request #2942 from privateip/module_nxos_template
initial add of nxos_template module
9 years ago
Peter Sprygada ef8df6c0ec initial add of new nxos_config module
This adds a new module for managing configuraiton files for Cisco NXOS
devices.  It provides configuration file management including templating
and backing up the current configuration.

This PR has a dependency on ansible/ansible PR # 14012
9 years ago
Peter Sprygada 25dee10814 initial add of nxos_template module
The nxos_template module worksw by allowing configurations to be pushed
to Cisco NXOS devices over CLI or NXAPI and templated using the Ansible
Jinja2 template engine
9 years ago
Peter Sprygada 32e238a8f0 initial add of new module nxos_command
This adds a new module nxos_command that can be used to send arbitrary
commands to NXOS devices.  The module includes an argument that allows
the responses to be evaluated and causes the module not to return
control to the playbook until a set of conditions has been met.
9 years ago