Commit Graph

63 Commits (3945794704d3dcf7fed84a8322e61c1ba0ee6a2d)

Author SHA1 Message Date
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