Commit graph

41 commits

Author SHA1 Message Date
Peter Sprygada
0045cf31c5 Merge pull request #4687 from privateip/junos_command
add new functionality to junos_command module
2016-09-04 09:25:11 -04:00
Peter Sprygada
f0e5a8c7ab Merge pull request #4688 from privateip/junos_netconf
update junos_netconf module
2016-09-04 09:25:01 -04:00
Peter Sprygada
4ab3492011 Merge pull request #4689 from privateip/junos_template
update junos_template module
2016-09-04 09:24:32 -04:00
Peter Sprygada
a11a311b49 update junos_config module
* adds src argument to load configuration from disk
* adds src_format to set the source file format
* adds update argument with choices merge or replace
* deprecates the replace argument in favor of update=replace
2016-09-03 15:15:37 -04:00
Peter Sprygada
256730e997 add new functionality to junos_command module
* commands argument now accepts a dict arguments
* rpcs argument now accepts a dict argument
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
2016-09-03 06:09:46 -04:00
Peter Sprygada
ba8613cae9 update junos_netconf module
Updates the junos_netconf module with changes to load the
NetworkModule instead of the get_module factory method.  This
update is part of the 2.2 refactor of network modules
2016-09-02 22:40:38 -04:00
Peter Sprygada
0dfd3f177f update junos_template module
This updates the junos_template module implementing the changes for
Ansible 2.2
2016-09-02 22:36:22 -04:00
codyrat
50133f1ed6 re.match for numeric only for kwargs[key] = int(value) (#4495) 2016-08-22 15:00:33 -04:00
John R Barker
4148b74433 Update junos_config.py 2016-08-05 17:01:52 +01:00
John R Barker
5f02f54ff9 Update junos_config.py 2016-08-05 16:38:58 +01:00
John Barker
bd08631e58 junos: Docs update 2016-08-04 17:16:38 +01:00
Kevin Kirsche
9a369b3f1f Update junos_config.py 2016-08-02 17:35:02 -04:00
Kevin Kirsche
9f8bc0158c Fix typo in "ssantaize" typo
ssantaize to santaize
2016-08-02 17:32:52 -04:00
Stian Vikan
1e74d4c9a6 Fixed delete statement for juniper_config.py #4007 #3984 2016-06-24 16:06:25 +02:00
Peter Sprygada
e7e295b693 removes requirement for config argument to be specified in junos_facts
The config argument is optional and should not be required.  This
removes the required attribute from the config argument.

fixes #3878
2016-06-07 21:43:17 -04:00
Wolfgang Powisch
061555cefb Update junos_facts.py (#3759) 2016-05-26 19:19:04 -04:00
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
Michael Scherer
4c569fd535 Add a test on jnpr.junos.utils.sw presence (#3666) 2016-05-17 10:04:16 -07: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
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
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
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
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
Sam Wilson
23b98dae3e Fixed BOOLEANS rendering in docsite 2016-03-02 08:38:35 +11: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
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
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