Commit graph

17 commits

Author SHA1 Message Date
Peter Sprygada
25baca1eb8 refactors nxos_template and removes diff functions
replaces the diff functions with the netcfg shared module for handling
configuration diff
2016-04-04 08:16:03 -04:00
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
2016-04-04 08:15:51 -04:00
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
2016-04-04 08:15:43 -04:00
Peter Sprygada
bff7cb6cad fixes #3274 2016-03-21 07:08:23 -05:00
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
2016-03-13 16:27:21 -07:00
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
2016-03-10 13:33:33 -05:00
chouseknecht
573ba42b03 Moved Conditional class to netcfg. 2016-02-11 01:17:52 -05:00
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
2016-02-09 14:59:23 -05:00
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
2016-02-09 14:58:31 -05:00
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
2016-02-09 14:57:31 -05:00
chouseknecht
f5a92e3565 Adding nxos_nxapi module. 2016-02-07 11:37:03 -05:00
Peter Sprygada
fca78058db fixup docstring in nxos_config module 2016-02-06 06:35:01 -05:00
Peter Sprygada
82a051d150 Merge pull request #2897 from privateip/module_nxos_command
initial add of new module nxos_command
2016-02-06 06:29:26 -05:00
Peter Sprygada
6cddd47e67 Merge pull request #2942 from privateip/module_nxos_template
initial add of nxos_template module
2016-02-06 06:28:53 -05:00
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
2016-02-04 11:31:19 -05:00
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
2016-02-01 22:22:29 -05:00
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.
2016-01-31 20:45:14 -05:00