Peter Sprygada
4c8e32ee27
fixes import statements in junos_package module ( #4929 )
...
This fixes the import statement to import NetworkModule from network instead
of from junos
8 years ago
Peter Sprygada
df4a9dabd5
fix up junos_facts import statements ( #4928 )
...
This fixes the junos_facts import statements and removes importing
NetworkModule from the junos shared module.
8 years ago
Peter Sprygada
a3807eee10
fix import in junos_command module ( #4927 )
...
This fixes the import statements in the junos_command module to be
consistent with all junos_* modules
8 years ago
Peter Sprygada
16f298138c
roll up of bug fixes for junos_config module ( #4925 )
...
* fixed docstring referencing old arguments
* changed out lxml for xml library to avoid import errors
* fixed issue when trying to confirm a commit will end up a NOOP
* fixed issue for passing replace argument to load_config method
8 years ago
Peter Sprygada
446c7de239
bug fixes in junos_netconf module ( #4924 )
...
* fixes exception thrown when sending commands to device
* fixes exception thrown when retrieving current resource instance
* fixes issue where netconf would be configured in some instances when state
was set to absent
* now returns the command string sent to the remote device
* fixes argument name to be netconf_port with alias to listens_on
8 years ago
Matt Clay
f2c2dddc01
Remove duplicate keys from module docs. ( #4920 )
8 years ago
John Barker
9c42d72375
Docs improvements to _config
8 years ago
Peter Sprygada
42856d9949
roll up updates to junos_config module
...
* remove 'update' argument
* update doc strings
* reorder functions
8 years ago
Peter Sprygada
477c71d985
minor updates to junos_package module for 2.2 ( #4761 )
...
* replaces get_module() with NetworkModule()
* removes old call to package_version()
8 years ago
Peter Sprygada
4277b88de5
update junos_facts module to remove get_module() factory function ( #4760 )
...
Replaces get_module() with NetworkModule instance
8 years ago
Peter Sprygada
0045cf31c5
Merge pull request #4687 from privateip/junos_command
...
add new functionality to junos_command module
8 years ago
Peter Sprygada
f0e5a8c7ab
Merge pull request #4688 from privateip/junos_netconf
...
update junos_netconf module
8 years ago
Peter Sprygada
4ab3492011
Merge pull request #4689 from privateip/junos_template
...
update junos_template module
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Peter Sprygada
0dfd3f177f
update junos_template module
...
This updates the junos_template module implementing the changes for
Ansible 2.2
8 years ago
codyrat
50133f1ed6
re.match for numeric only for kwargs[key] = int(value) ( #4495 )
8 years ago
John R Barker
4148b74433
Update junos_config.py
8 years ago
John R Barker
5f02f54ff9
Update junos_config.py
8 years ago
John Barker
bd08631e58
junos: Docs update
8 years ago
Kevin Kirsche
9a369b3f1f
Update junos_config.py
8 years ago
Kevin Kirsche
9f8bc0158c
Fix typo in "ssantaize" typo
...
ssantaize to santaize
8 years ago
Stian Vikan
1e74d4c9a6
Fixed delete statement for juniper_config.py #4007 #3984
9 years ago
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
9 years ago
Wolfgang Powisch
061555cefb
Update junos_facts.py ( #3759 )
9 years ago
Peter Sprygada
39693305cf
Merge pull request #3623 from ocadotechnology/wip-3621
...
junos_template: Simplify arguments. Fixes #3621
9 years ago
Michael Scherer
cc99fe24fc
Convert the network subfolder to py3/py2.4 syntax ( #3690 )
9 years ago
Michael Scherer
4c569fd535
Add a test on jnpr.junos.utils.sw presence ( #3666 )
9 years ago
Mike Bryant
46957b167e
junos_template: Simplify arguments. Fixes #3621
...
Simplify the arguments to junos_template, such that
merge/overwrite/replace can be selected easily.
9 years ago
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.
9 years ago
Peter Sprygada
b80929bf0b
adds new module junos_package
...
the new module allows playbook designers to manage packages on remote
devices running junos.
9 years ago
Peter Sprygada
5814748b4d
add support for netconf to junos_config
...
The junos_config module now supports the netconf transport.
9 years ago
Peter Sprygada
9b5c71ec03
Merge pull request #3534 from privateip/junos_template
...
add support for netconf to junos_template
9 years ago
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
9 years ago
Peter Sprygada
36755e5fe2
Merge pull request #3532 from privateip/junos_command
...
fixes docstring format in junos_command
9 years ago
Peter Sprygada
14ea46199a
Merge pull request #3519 from privateip/junos_facts
...
adds new junos_facts module
9 years ago
Peter Sprygada
2d9c3c02e5
fixes docstring format in junos_command
9 years ago
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
9 years ago
Peter Sprygada
c41cb48007
Merge pull request #9 from dgarros/junos_modules
...
Add support for xml, set and text format for config
9 years ago
Peter Sprygada
297b93dd1b
Merge pull request #3520 from privateip/junos_netconf
...
adds new module junos_netconf used for configuring netconf services
9 years ago
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.
9 years ago
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
9 years ago
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
9 years ago
Sam Wilson
23b98dae3e
Fixed BOOLEANS rendering in docsite
9 years ago
Peter Sprygada
7a19e16dca
minor bugfixes for junos_config return values
...
The junos_config now properly returns updates and reponses
9 years ago
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
9 years ago
Peter Sprygada
0d1bf50ca1
add package init to junos/
9 years ago
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
9 years ago
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
9 years ago