jctanner
4a3916bd46
Use the six import for urlsplit instead of importing directly. ( #3902 )
...
Fixes https://github.com/ansible/ansible/issues/16191
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
Toshio Kuratomi
cb1093e085
Fix the six import
9 years ago
Toshio Kuratomi
469169f654
Be sure to import urllib.parse from somewhere
9 years ago
Gabriele
8cb463d250
Fixing bug, added missing param ( #3737 )
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
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.
9 years ago
Peter Sprygada
1ab2c3a737
Merge pull request #3627 from xmj/devel
...
network/*/*_config.py: Correct typo.
9 years ago
Peter Sprygada
f71e00f0bf
Merge pull request #3612 from dharmabumstead/devel
...
Fixed typos
9 years ago
Michael Scherer
4c569fd535
Add a test on jnpr.junos.utils.sw presence ( #3666 )
9 years ago
Toshio Kuratomi
298fd0ae56
Docs fixes
9 years ago
Brian Coca
9ae898c902
made note about slurp memory consumption
9 years ago
Johannes Meixner
24549ee80a
network/*/*_config.py: Correct typo.
...
- Replace syntanx with syntax in all things network.
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
Scott Butler
7d09339d31
Fixed typos
9 years ago
John R Barker
bb9572ca86
ansible-validate-modules part 4: Enable check on ansible-modules-core ( #3526 )
...
* Call ansible-validate-modules
* Correct quotes + add newline
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
jedelman8
3ebb693777
add nxos_interface
9 years ago
James Cammarata
b1641ec486
Remove extraneous debug stuff from uri module left over from testing
9 years ago
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
9 years ago
Nathaniel Case
b466f7bbe2
Remove unnecessary exception from nxos_command ( #3521 )
9 years ago
Peter Sprygada
426e9a357d
Merge pull request #3473 from networktocode/nxos_ping
...
nxos_ping
9 years ago
Peter Sprygada
7a475d06f0
Merge pull request #3477 from networktocode/nxos_vrrp
...
nxos_vrrp
9 years ago
Peter Sprygada
d526770ca9
Merge pull request #3475 from networktocode/nxos_vrf_interface
...
nxos_vrf_interface
9 years ago
Peter Sprygada
0cb22ea123
Merge pull request #3476 from networktocode/nxos_vrf
...
nxos_vrf
9 years ago
Peter Sprygada
b66766bf19
Merge pull request #3516 from networktocode/nxos_ip_interface
...
nxos_ip_interface
9 years ago
Peter Sprygada
66a43b0695
Merge pull request #3468 from networktocode/nxos_switchport
...
add nxos_switchport module
9 years ago
Peter Sprygada
2a6173feef
Merge pull request #3470 from networktocode/nxos_feature
...
nxos_feature
9 years ago
Peter Sprygada
0cdd12cf22
Merge pull request #3467 from networktocode/nxos_vlan
...
add nxos_vlan module
9 years ago
Peter Sprygada
ea3c4a9466
Merge pull request #3471 from networktocode/nxos_get_facts
...
nxos_get_facts
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
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.
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
GGabriele
b6b75720ec
Fixed doc
9 years ago
GGabriele
3c91dc1f79
Removed old file
9 years ago
GGabriele
7408c8ab14
Changed module name to nxos_facts
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
jctanner
804a8e6378
Fix status check on get_url with file schemas and update the examples. ( #3512 )
...
Addresses #3511
9 years ago
GGabriele
0f57bb1513
Fixing bugs
9 years ago
GGabriele
c25610777f
Adding nxos_ip_interface
9 years ago
Brian Coca
c64b7a71fb
removed usless default doc
9 years ago
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.
9 years ago
GGabriele
1977be60b2
Adding nxos_vrrp
9 years ago
GGabriele
e7fbafce14
Adding nxos_ping
9 years ago
jedelman8
ef904f67a6
fix index for portchannel
9 years ago
GGabriele
bbe85bf1fa
fix conditional for py24
9 years ago
GGabriele
2466e407f4
fix conditional for py24
9 years ago
GGabriele
14e334285f
fix conditional for py24
9 years ago
GGabriele
67d416576f
fix conditional for py24
9 years ago
jedelman8
1e5dd9674e
fix docstring
9 years ago
jedelman8
8a8025ba2d
fix conditional for py24
9 years ago
jedelman8
30a6984983
force travis build
9 years ago
jedelman8
f9f894ef95
fix conditional for py24
9 years ago
jedelman8
8a53755a61
minor test
9 years ago
jedelman8
ed421149e6
update return doc string
9 years ago
jedelman8
ea5ed26e04
update return doc string
9 years ago
GGabriele
091c5b6a4e
Fixed RETURN string
9 years ago
GGabriele
026ddfcc46
Fixed RETURN string
9 years ago
GGabriele
6afeb471ad
Fixed RETURN string and added notes
9 years ago
GGabriele
36942ec24b
Fixed RETURN string
9 years ago
GGabriele
fff9c9ed44
Fixing nxos_vrf
9 years ago
GGabriele
6a412e55e9
Adding nxos_vrf_interface
9 years ago
GGabriele
3c51d11244
Adding nxos_vrf
9 years ago
GGabriele
da0ed0ce9b
Adding nxos_get_facts
9 years ago
GGabriele
101ce75342
Addng nxos_feature
9 years ago
Kei Nohguchi
795b3c25cd
ops_template.py: Taking care of the JSON src variable ( #3313 )
...
* ops_template.py: Taking care of the JSON src variable
* ops_template.py: Specify type='str' for src argument to be explicit
9 years ago
jedelman8
5531b1c3fc
add nxos_vlan
9 years ago
jedelman8
4672809bf3
add nxos_switchport
9 years ago
Patrick Ogenstad
5409ed1b28
Fix documentation example, missing ")"
9 years ago
Matt Davis
6d0e9327e3
Merge pull request #3342 from gundalow/docsfix
...
ansible-validate-modules part 1: Correct documentation
9 years ago
Peter Sprygada
6b8a92045f
handles config replace properly in eos_template
...
fixes 3366
9 years ago
John Barker
531eed80b3
Replace BOOLEANS with true/false
9 years ago
Peter Sprygada
cf01087a30
refactor iosxr_template module to remove old diff functions
...
this replaces the old diff functions with the netcfg shared module for
handling configuration diffs between running and candidate
9 years ago
Peter Sprygada
0f724f625d
refactor iosxr_config module to remove old diff functions
...
this replaces the old diff functions with the netcfg lib for handling
configuration diffs between running and candidate configurations
9 years ago
Peter Sprygada
86f9c672f0
cleanup iosxr_command module to be consistent with other network modules
...
this cleans up some of the function calls and output keys to be consistent
with other command modules
9 years ago
Peter Sprygada
25baca1eb8
refactors nxos_template and removes diff functions
...
replaces the diff functions with the netcfg shared module for handling
configuration diff
9 years ago
Peter Sprygada
639e324fdb
refactors nxos_config and removes diff functions
...
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
9 years ago
Peter Sprygada
11c00c2278
cleans up nxos_command and adds some additonal info on exception
...
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
9 years ago
Peter Sprygada
ad519c2f5c
refactors eos_template to remove diff functions
...
replaces functions with netcfg shared library for handling configuration
diffs
9 years ago
Peter Sprygada
5d0ee49067
refactors eos_config to remove config diff functions
...
replaces with netcfg shared library for handling configuration diffs
9 years ago
Peter Sprygada
c500b2ff99
refactors the ios_template module to use netcfg diff
...
removes the functions for performing configuration diffs to use the
netcfg shared lib
9 years ago
Peter Sprygada
df32f64898
refactor ios_config to use netcfg diff shared lib
...
Move the configuration diff code from the module to the shared lib
9 years ago
Toshio Kuratomi
a2f41dfb04
Give headers a default so that we can add to it.
9 years ago
Peter Sprygada
bff7cb6cad
fixes #3274
9 years ago
Toshio Kuratomi
d71b9bae89
If file attribs are specified set them even if file already exists.
...
Fixes #11821
9 years ago
Toshio Kuratomi
eebd6c93ba
Fix documentation
9 years ago
James Cammarata
d7422c02ad
Merge pull request #3010 from grybak-arista/exit-filter
...
Filter exit commands when no other commands are included
9 years ago
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