Commit graph

164 commits

Author SHA1 Message Date
Brian Coca
0bbb7ba38d Merge pull request #3135 from mscherer/improve_uri_doc
Fix non RFC 2606 domain name in doc
2016-02-29 17:52:35 -05:00
Toshio Kuratomi
7088f72742 At least for now, set body to raw as it can be either a dict or jsonified-str
Since our validation does conversion as well as validation, I'm not sure
this is entirely correct.  May need to take a look at our conversion
code and re-examine to be sure we're doing it right.
2016-02-29 07:20:39 -08:00
Toshio Kuratomi
3853d2a9a6 Change parameter to type=path
Read as binary for python3 preparedness
2016-02-29 00:38:10 -08:00
Michael Scherer
d81a6740ec Fix non RFC 2606 domain name in doc 2016-02-28 11:51:17 +01:00
Peter Sprygada
616b7564ef fixes issue with return docstring
This commit fixes an issue with the return doc string.  The old line
was removed that would prevent the docs form being built correctly
2016-02-26 11:07:25 -05:00
Brian Coca
011c558927 corrected version added 2016-02-24 21:30:09 -05:00
Brian Coca
7162623e86 Merge pull request #2913 from msvab/devel
Clarify get_url timeout documentation
2016-02-23 13:30:39 -05:00
Matt Martz
adf2125339 Indicate in notes that the dependency on httplib2 was removed for v2.1 2016-02-23 11:53:02 -06:00
Matt Martz
7f206fdfe8 Drop dependency on httplib2 in the uri module, instead using ansible.module_utils.urls 2016-02-23 10:35:11 -06:00
Brian Coca
148fa183de Merge pull request #3014 from bcoca/uri_fixes
fixes for uri module
2016-02-23 11:23:10 -05:00
Peter Sprygada
7a19e16dca minor bugfixes for junos_config return values
The junos_config now properly returns updates and reponses
2016-02-20 16:25:57 -05:00
Peter Sprygada
87cee15a85 initial add of ops_template module
This adds a new module ops_template used for configuring OpenSwitch
using local declarative config modules
2016-02-17 16:23:41 +00:00
Peter Sprygada
567e09c933 bugfix for missing function name in ios_command
This provides a minor bugfix for a missing function name in the ios_command
network module
2016-02-17 13:49:08 +00:00
Matt Martz
c7845456a6 Various simple linting type cleanups on modules 2016-02-16 15:58:44 -06:00
Peter Sprygada
0e270da561 initial add of iosxr_config module
This adds a new module, iosxr_config, that can be used for configuring
Cisco IOS XR devices.  It is provides a set of arguments for sending
configuration commands to the device over cli
2016-02-12 17:04:30 -05:00
Peter Sprygada
fb82e08e73 initial add of iosxr_template module
This adds a new module, iosxr_template, that can be used to template
configurations for IOS XR devices.  Templates are then loaded into the
target device over cli
2016-02-12 17:04:20 -05:00
Peter Sprygada
2e2380a505 initial add of iosxr_command module
This adds a new module, iosxr_command, that can be used to issue
commands to devices running IOS XR.  Commands are run on the
target device over cli
2016-02-12 17:04:12 -05:00
Peter Sprygada
af40116e23 update junos_command module return values
This minor update fixes the return values from the junos_command module
to be consistent with other network modules
2016-02-12 16:43:08 -05:00
Peter Sprygada
b7114cc783 update ios_command module return values
This minor change updates the return values and doc string for the
ios_command module to be consistent with other network modules
2016-02-12 16:42:14 -05:00
Peter Sprygada
c90181c64e Merge pull request #2999 from chouseknecht/ios_commnad_init
Add ios_command module
2016-02-12 07:24:37 -05:00
Peter Sprygada
5626fb38fa add init to network/cumulus and reset module attrs
The modules were merged in without an __init__.py.  This adds the module
iniit and resets all of the module attrs to 0644
2016-02-12 07:12:56 -05:00
Peter Sprygada
b54a5de6c6 Merge pull request #2880 from CumulusNetworks/cumulus-core-modules
Adding files to ansible core modules.
2016-02-12 07:07:18 -05:00
Peter Sprygada
0d1bf50ca1 add package init to junos/ 2016-02-11 07:26:54 -05:00
Peter Sprygada
96986b6448 initial add of junos_config module
This adds a new module, junos_config, useed to configure Juniper JUNOS based
devices.  The config module can be used to set an ordered set of set and
delete statements over a cli transport
2016-02-11 07:07:55 -05:00
Peter Sprygada
ab31397a7d initial add of junos_template
This adds a new module, junos_template, that can read in a template
config and push the changes to the device.  It can also backup the
current config.  This module is implemented over cli
2016-02-11 07:07:27 -05:00
Peter Sprygada
8c46a08379 initial add of junos_command module
This adds a new module, junos_command that can be used for sending commands
to Juniper JUNOS based devices.   The junos_command module is implemented
over a cli transport
2016-02-11 07:07:14 -05:00
chouseknecht
a4f67a4ef2 Add ios_commnand module. 2016-02-11 01:17:52 -05:00
chouseknecht
573ba42b03 Moved Conditional class to netcfg. 2016-02-11 01:17:52 -05:00
Brian Coca
f5a374103f fixes for uri module
- clarify docs on body_json behaviour
- only tranform into json if body input is not a string
  users keep passing json string and expecint it to not be jsonified again
- fixed issue with removes not handling path expansion correctly
- switched all path variables to 'type path' to handle expansions
2016-02-11 01:09:20 -05:00
Peter Sprygada
e6460906fd update eos_config doc string and return values
This change update the return values from eos_config to be consistent with
all network config modules.  This will now return updates and responses
from the module
2016-02-09 15:10:05 -05:00
Peter Sprygada
d66a0cbe3f update eos_template doc string and return values
This updates the return values form eos_template to be consistent
across all template modules.  This change now returns updates and
respones
2016-02-09 15:07:55 -05:00
Peter Sprygada
624d1e38b8 update eos_command doc strings and return values
This change updates the returns values from eos_command to be consistent
with network modules. It now returns stdout, stdout_lines and failed_conditionals
2016-02-09 15:07:06 -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
Peter Sprygada
e010a7b240 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-02-09 14:38:42 -05:00
Peter Sprygada
ca2ae67794 update ios_config doc strings and return values
This changes the return values to be consistent across all network
config modules. The return values are now updates and responses
2016-02-09 14:37:16 -05:00
Peter Sprygada
08fd378479 Merge pull request #2909 from chouseknecht/eos_api_module
Eos api module
2016-02-08 07:13:41 -05:00
chouseknecht
4e614d36bc Adding eos_eapi module. 2016-02-07 12:01:26 -05:00
chouseknecht
f5a92e3565 Adding nxos_nxapi module. 2016-02-07 11:37:03 -05:00
Peter Sprygada
6c486cd341 bug fix for eos_config module
This addresses a bug in the eos_config module that would prevent it
from running properly.  The module should now properly process the config
and the candidate
2016-02-06 09:09:29 -05:00
Peter Sprygada
23f1d20a5c initial add of ios_template module
This adds a new module for working with IOS devices and building configurations
using templates.
2016-02-06 08:19:01 -05:00
Peter Sprygada
d05ceb9e28 initial add of ios_config module
This adds a new module ios_config that can be used for configuring
IOS devices.
2016-02-06 08:16:32 -05:00
Peter Sprygada
d64ae18307 bug fix on parameter in eos_config
The eos_config module has a bug where its trying to pass an argument
that doesn't exist.  This fixes that problem, removing the offending
keywork argment
2016-02-06 07:37:46 -05:00
Peter Sprygada
0df3a0e501 Merge pull request #2941 from privateip/module_eos_template
initial add of new module eos_template
2016-02-06 07:02:14 -05:00
Peter Sprygada
9ee5dc12b6 Merge pull request #2872 from privateip/module_eos_command
initial add of eos_command module
2016-02-06 07:01:51 -05:00
Peter Sprygada
6702496781 Merge pull request #2862 from privateip/module_eos_config
initial add of eos_config module
2016-02-06 07:01:24 -05:00
Peter Sprygada
b7c2878136 initial add of eos_config module
This adds a new module for pushing configuraitons to eos devices in a
reliable and repeatable fashion.  It includes support for templating
configurations and backing up the current config prior to pushing out
changes.  This module works over either CLI or EAPI.

This PR has a dependency on ansible/ansible PR #14009 being merged
2016-02-06 06:55:27 -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