Commit graph

277 commits

Author SHA1 Message Date
Peter Sprygada
39693305cf Merge pull request #3623 from ocadotechnology/wip-3621
junos_template: Simplify arguments. Fixes #3621
2016-05-23 09:22:55 -04:00
Michael Scherer
cc99fe24fc Convert the network subfolder to py3/py2.4 syntax (#3690) 2016-05-18 09:08:30 -07:00
Kei Nohguchi
14e13f68a5 ops_template.py: Change integer key into stirng
This fix passing the update variable to the str()
so that it avoids the exception when ops.dc.read()
returns a dictionary which contains non-string keys.

This is due to the fact that some of the key types in
OpenSwitch schema are actually defined as integer
and ops.dc declerative config module encode those
in integer inside the dictionary.  This could be
the right encoding from the schema point of view
but someone needs to convert it to the string
somewhere, as JSON key should be string.
2016-05-18 07:01:38 -07:00
Peter Sprygada
1ab2c3a737 Merge pull request #3627 from xmj/devel
network/*/*_config.py: Correct typo.
2016-05-18 07:03:39 -04:00
Peter Sprygada
f71e00f0bf Merge pull request #3612 from dharmabumstead/devel
Fixed typos
2016-05-18 06:59:09 -04:00
Michael Scherer
4c569fd535 Add a test on jnpr.junos.utils.sw presence (#3666) 2016-05-17 10:04:16 -07:00
Toshio Kuratomi
298fd0ae56 Docs fixes 2016-05-13 11:01:19 -07:00
Brian Coca
9ae898c902 made note about slurp memory consumption 2016-05-12 14:44:21 -04:00
Johannes Meixner
24549ee80a network/*/*_config.py: Correct typo.
- Replace syntanx with syntax in all things network.
2016-05-10 10:30:28 +03:00
Mike Bryant
46957b167e junos_template: Simplify arguments. Fixes #3621
Simplify the arguments to junos_template, such that
merge/overwrite/replace can be selected easily.
2016-05-09 23:31:11 +01:00
Scott Butler
7d09339d31 Fixed typos 2016-05-06 14:34:31 -07:00
John R Barker
bb9572ca86 ansible-validate-modules part 4: Enable check on ansible-modules-core (#3526)
* Call ansible-validate-modules

* Correct quotes + add newline
2016-05-03 07:51:12 -07:00
Peter Sprygada
f7baff4688 fixes docstring issue for junos_config arguments
The docstring was incorrectly merged with some old entries that will
cause the documentation not to build correclty.  It is now fixed.
2016-04-27 10:39:51 -04:00
jedelman8
3ebb693777 add nxos_interface 2016-04-26 05:25:48 -07:00
James Cammarata
b1641ec486 Remove extraneous debug stuff from uri module left over from testing 2016-04-25 14:34:27 -04:00
James Cammarata
84ee00bb42 Make sure uri output contains json output when a non-200 status is returned
Prior to the switch to the urls.py code, non-200 responses contained
a 'json' value when the content-type was JSON. This fix restores that
field upon a non-2xx response.

Fixes ansible/ansible#15555
2016-04-25 14:19:03 -04:00
Nathaniel Case
b466f7bbe2 Remove unnecessary exception from nxos_command (#3521) 2016-04-25 13:26:06 -04:00
Peter Sprygada
426e9a357d Merge pull request #3473 from networktocode/nxos_ping
nxos_ping
2016-04-25 12:34:22 -04:00
Peter Sprygada
7a475d06f0 Merge pull request #3477 from networktocode/nxos_vrrp
nxos_vrrp
2016-04-25 12:00:44 -04:00
Peter Sprygada
d526770ca9 Merge pull request #3475 from networktocode/nxos_vrf_interface
nxos_vrf_interface
2016-04-25 11:57:37 -04:00
Peter Sprygada
0cb22ea123 Merge pull request #3476 from networktocode/nxos_vrf
nxos_vrf
2016-04-25 11:56:15 -04:00
Peter Sprygada
b66766bf19 Merge pull request #3516 from networktocode/nxos_ip_interface
nxos_ip_interface
2016-04-25 11:54:06 -04:00
Peter Sprygada
66a43b0695 Merge pull request #3468 from networktocode/nxos_switchport
add nxos_switchport module
2016-04-25 11:51:21 -04:00
Peter Sprygada
2a6173feef Merge pull request #3470 from networktocode/nxos_feature
nxos_feature
2016-04-25 11:50:13 -04:00
Peter Sprygada
0cdd12cf22 Merge pull request #3467 from networktocode/nxos_vlan
add nxos_vlan module
2016-04-25 11:47:57 -04:00
Peter Sprygada
ea3c4a9466 Merge pull request #3471 from networktocode/nxos_get_facts
nxos_get_facts
2016-04-25 11:43:45 -04:00
Peter Sprygada
b80929bf0b adds new module junos_package
the new module allows playbook designers to manage packages on remote
devices running junos.
2016-04-24 22:04:33 -04:00
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.
2016-04-24 21:37:29 -04:00
Peter Sprygada
5814748b4d add support for netconf to junos_config
The junos_config module now supports the netconf transport.
2016-04-24 14:12:06 -04:00
Peter Sprygada
9b5c71ec03 Merge pull request #3534 from privateip/junos_template
add support for netconf to junos_template
2016-04-24 13:13:24 -04:00
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
2016-04-24 11:48:08 -04:00
Peter Sprygada
36755e5fe2 Merge pull request #3532 from privateip/junos_command
fixes docstring format in junos_command
2016-04-24 09:11:30 -04:00
Peter Sprygada
14ea46199a Merge pull request #3519 from privateip/junos_facts
adds new junos_facts module
2016-04-24 09:08:07 -04:00
Peter Sprygada
2d9c3c02e5 fixes docstring format in junos_command 2016-04-24 08:39:30 -04:00
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
2016-04-24 08:32:47 -04:00
Peter Sprygada
c41cb48007 Merge pull request #9 from dgarros/junos_modules
Add support for xml, set and text format for config
2016-04-24 07:58:56 -04:00
Peter Sprygada
297b93dd1b Merge pull request #3520 from privateip/junos_netconf
adds new module junos_netconf used for configuring netconf services
2016-04-24 07:36:53 -04:00
GGabriele
b6b75720ec Fixed doc 2016-04-23 13:36:03 +02:00
GGabriele
3c91dc1f79 Removed old file 2016-04-22 22:44:38 +02:00
GGabriele
7408c8ab14 Changed module name to nxos_facts 2016-04-22 22:42:17 +02:00
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.
2016-04-22 15:39:38 -04:00
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
2016-04-22 15:38:18 -04:00
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
2016-04-22 15:35:35 -04:00
jctanner
804a8e6378 Fix status check on get_url with file schemas and update the examples. (#3512)
Addresses #3511
2016-04-21 16:28:29 -04:00
GGabriele
0f57bb1513 Fixing bugs 2016-04-21 16:01:04 +02:00
GGabriele
c25610777f Adding nxos_ip_interface 2016-04-21 10:48:45 +02:00
Brian Coca
c64b7a71fb removed usless default doc 2016-04-19 17:48:11 -04:00
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.
2016-04-19 17:46:34 -04:00
GGabriele
1977be60b2 Adding nxos_vrrp 2016-04-19 21:00:36 +02:00
GGabriele
e7fbafce14 Adding nxos_ping 2016-04-19 20:55:25 +02:00