Toshio Kuratomi
38b3c43c68
Fix uri for change in case in response
...
In python3, response fields are title cased whereas in python2 they were
not. We return these fields to the module's caller so we need to
normalize all of them to be lower case.
This reverts the lowercase check from 454f741ef5b56cccd123e12d7b2e6fe31d47c755
as that one was only targetted as a single field.
2016-12-08 11:25:24 -05:00
Toshio Kuratomi
bd9e790cfe
First set of fixes for uri module to work with py3.
...
This fix handles changes in the response headers (no longer all
lowercased) and switches from unicode() to to_text().
2016-12-08 11:25:24 -05:00
Michael Scherer
18b0920311
Do not leak the vtp_password in log ( #5199 )
2016-12-08 11:25:20 -05:00
Peter Sprygada
2127459794
fixes bug introduced in 3670215 in junos_config ( #5251 )
...
The previous fix created a new bug that this PR resolves
2016-12-08 11:25:20 -05:00
John R Barker
25b6492d37
Bulk spelling improvement to modules-core ( #5225 )
...
* Correct spelling mistakes
* Correct more spelling issues
* merge conflict
* Revert typo in parms
2016-12-08 11:25:20 -05:00
Peter Sprygada
810040be05
fixes issue with collecting all filesystems in ios ( #5248 )
...
earlier versions of ios do not provide the all-filesystems argument. This
fix will now only report on the flash filesystem for ios_facts
fixes #4712
2016-12-08 11:25:19 -05:00
Peter Sprygada
f106ff9e77
ios_config will now explicitly disconnect from remote host ( #5247 )
...
The ios_config module will now explicitly send a disconnect to the
remote host at the conclusion of the module run
ref #5181
2016-12-08 11:25:19 -05:00
amitsi
522ed054f7
Update pn_vlan ( #5223 )
...
removed name from an older file which got left out
2016-12-08 11:25:19 -05:00
Peter Sprygada
43e6206559
removes automated backup of ios to flash due to errors ( #5245 )
...
The feature is extremely unstable right now and decision to pull
it out for 2.2. Workaround is to do the same in the playbook
2016-12-08 11:25:19 -05:00
Peter Sprygada
25d00838a9
fixes issue with pushing config to versions that do not support sessions ( #5236 )
...
earlier versions of eos do not support configuration sessions. this change
will now check if sessions are supported and if not will fallback to
not using config sessions
fixes #4909
2016-12-08 11:25:19 -05:00
John Barker
bca8bbe7c2
Correct functional typos
2016-12-08 11:25:19 -05:00
Peter Sprygada
4dc09e19ea
fixes bug with junos_config module not properly loading config ( #5213 )
...
This fixes two issues. First, it fixes an issue with the junos_config
module not properly recognizing a file with set commands. The second
bug would cause the diff_config() function to raise an exception due
to a blank line when splitting the config
2016-12-08 11:25:19 -05:00
Nathaniel Case
5a8ebf5953
nxos module cleanup ( #5065 )
...
* Fix imports on nxos_bgp* modules
* Fix imports on nxos_evpn* modules
* Cleanup issues for nxos_facts
* Shuffle imports for nxos_template
* Fix imports on nxos_ospf* modules
* Fix nxos_hsrp
As get_hsrp_groups_in_devices is not actually called anywhere, I presume this
change is reasonable.
* Fix imports on nxos_interface* modules
* Update nxos_static_route imports
* update nxos_vrf
* Update nxos_config imports
2016-12-08 11:25:19 -05:00
Peter Sprygada
3fbae6f10f
updates docstring for sros modules ( #5197 )
2016-12-08 11:25:19 -05:00
Bill Nottingham
765269e547
Fix deprecation notices. ( #5180 )
2016-12-08 11:25:19 -05:00
Gabriele
f8d2be407d
Fixing docstring ( #5130 )
2016-12-08 11:25:18 -05:00
Peter Sprygada
56120433c9
checks commit comment to make sure it doesn't exceed 60 characters ( #5155 )
...
The comment argument can be at most 60 characters per the IOS XR command
line. If a comment is > 60 characters, the module will now gracefully error
and return a well formed message.
fixes 5146
2016-12-08 11:25:18 -05:00
John R Barker
efca39d4d4
Remove reference to parents parameter which doesn't exist ( #5143 )
2016-12-08 11:25:18 -05:00
John R Barker
d12f2d2c72
Remove docs for commit which no longer exists ( #5152 )
2016-12-08 11:25:18 -05:00
Peter Sprygada
9c664f424e
adds exception handling for adding an invalid condition ( #5125 )
...
This change will now handle a problem adding a condition that raises
an AddConditionError and return a well formed error to the user.
2016-12-08 11:25:18 -05:00
Gabriele
b4565b6667
Adding more details on DOCSTRING about how to use the module ( #5121 )
2016-12-08 11:25:18 -05:00
Peter Sprygada
9707ae6490
adds exception handling for AddConditionError ( #5124 )
...
AddConditionErrors are now handled by nxos_command and a well formed error
is returned from the module
2016-12-08 11:25:17 -05:00
Peter Sprygada
f5e72c6590
adds check for AddConditionError when adding conditional statements ( #5123 )
...
The Conditional instance will now raise the AddConditionError and this
change instructs eos_command to catch the error and return a nicely formed
error message
2016-12-08 11:25:17 -05:00
Gabriele
d4c2a13325
Improving nxos_igmp_snooping ( #5011 )
2016-12-08 11:25:17 -05:00
Gabriele
3c257688bc
Fixing nxos_igmp_interface ( #5010 )
2016-12-08 11:25:17 -05:00
Gabriele
b6c07bc9e9
Fixing nxos_hsrp ( #5009 )
...
* Fixing nxos_hsrp
* Adding space after =
2016-12-08 11:25:17 -05:00
Senthil Kumar Ganesan
21ae84a04e
Remove the dellosX_template module ( #5110 )
2016-12-08 11:25:17 -05:00
Peter Sprygada
d58462949f
roll up of unicode fixes in junos modules ( #5113 )
...
* fixes junos_template (fixes #3962 )
* fixes junos_config
2016-12-08 11:25:17 -05:00
Gabriele
62bf8d0c78
Add ethernet-link-oam mapping to nxos_feature ( #4956 )
...
* Add ethernet-link-oam mapping
* Adding port-secutiry mapping
* Fixing command output format
2016-12-08 11:25:17 -05:00
Gabriele
67d6f2c0d6
Fixing nxos_vlan ( #5005 )
...
* Fixing nxos_vlan
* Fixing docstring
* Fixing docstring
2016-12-08 11:25:17 -05:00
Gabriele
43632951fe
Fixing nxos_aaa_server ( #5002 )
...
* Fixing command output formatting
* Fixing cmds
2016-12-08 11:25:17 -05:00
Gabriele
7f861fb9ce
Fixing nxos_acl ( #5006 )
...
* Fixing nxos_acl
* Fixing nxos_acl
2016-12-08 11:25:17 -05:00
Gabriele
272b20000f
Fixing nxos_acl_interface ( #5007 )
2016-12-08 11:25:17 -05:00
Gabriele
75c4051933
Fixing nxos_interface ( #5012 )
2016-12-08 11:25:16 -05:00
Gabriele
1be7ca4f70
Fxing nxos_ip_interface ( #5013 )
2016-12-08 11:25:16 -05:00
Gabriele
6708874f1c
Fixing nxos_mtu ( #5014 )
2016-12-08 11:25:16 -05:00
Gabriele
6934f11e1f
Fixing nxos_ntp ( #5015 )
2016-12-08 11:25:16 -05:00
Gabriele
6201a57d83
Fixing nxos_ntp_auth ( #5016 )
2016-12-08 11:25:16 -05:00
Gabriele
c50324fb08
Fixing nxos_ntp_options ( #5017 )
2016-12-08 11:25:16 -05:00
Gabriele
4b6ee73f8c
Fixing nxos_pim_interface ( #5018 )
2016-12-08 11:25:16 -05:00
Gabriele
5b96fb1dac
Fixing nxos_portchannel ( #5019 )
2016-12-08 11:25:16 -05:00
Gabriele
ebb39a0151
Fixing nxos_smu ( #5021 )
2016-12-08 11:25:16 -05:00
Gabriele
cda65cad18
Fixing nxos_snmp_community ( #5022 )
2016-12-08 11:25:16 -05:00
Gabriele
f74275fc1d
Fixing nxos_snmp_contact ( #5023 )
2016-12-08 11:25:16 -05:00
Gabriele
73d66e28ab
Fixing nxos_snmp_host ( #5024 )
2016-12-08 11:25:16 -05:00
Gabriele
7c7eee94b2
Fixing nxos_snmp_location ( #5025 )
2016-12-08 11:25:16 -05:00
Gabriele
19769903e6
Fixing nxos_snmp_traps ( #5026 )
2016-12-08 11:25:16 -05:00
Gabriele
bf59e458b1
Fixing nxos_snmp_user ( #5027 )
2016-12-08 11:25:16 -05:00
Gabriele
04e62346d1
Fixing nxos_udld_interface ( #5030 )
2016-12-08 11:25:16 -05:00
Gabriele
6bedeb28d8
Fixing nxos_switchport ( #5028 )
2016-12-08 11:25:16 -05:00