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
Gabriele
773f1703b7
Fixing nxos_udld ( #5029 )
2016-12-08 11:25:15 -05:00
Gabriele
d61950d48c
Fixing nxos_vpc_interface ( #5032 )
2016-12-08 11:25:15 -05:00
Gabriele
51c37e9f58
Fixing nxos_vrf ( #5033 )
2016-12-08 11:25:15 -05:00
Gabriele
8f331e01ca
Fixing nxos_vpc ( #5031 )
2016-12-08 11:25:15 -05:00
Gabriele
9ff6070eb8
Fixing nxos_vrf_interface ( #5034 )
2016-12-08 11:25:15 -05:00
Gabriele
e7286ed43c
Fixing nxos_vtp_domain ( #5036 )
2016-12-08 11:25:15 -05:00
Gabriele
c19e3b5924
Fixing nxos_vrrp ( #5035 )
2016-12-08 11:25:15 -05:00
Gabriele
f89cb1717c
Fixing nxos_vtp_password ( #5037 )
2016-12-08 11:25:15 -05:00
Gabriele
b897b497c1
Fixing nxos_vtp_version ( #5038 )
2016-12-08 11:25:15 -05:00
Peter Sprygada
58a5ec6c51
fixes junos_command module paring of wait_for strings ( #5083 )
...
The junos_command module wasn't properly parsing strings to apply
conditionals due to the return value not being converted to json
before the results where handed to the runner.
2016-12-08 11:25:15 -05:00
Peter Sprygada
9ed01d0cfd
fixes junos_template ignoring the action directive ( #5080 )
...
This updates the junos_template to properly process the action
directive when loading the configuration.
2016-12-08 11:25:15 -05:00
John R Barker
177dcadbc0
deprecated _template network modules: Rename in modules-core ( #5072 )
2016-12-08 11:25:14 -05:00
John R Barker
f7b10720ac
typo in module name ( #5062 )
2016-12-08 11:25:14 -05:00
Peter Sprygada
0a85e64b4a
fixes exception raised due to KeyError ( #5068 )
...
The vyos_config module would error when looking for a key called `updates`
in module.params. There is no such key. This fixes the problem.
2016-12-08 11:25:14 -05:00
Peter Sprygada
73cf85d677
catches exception if conditional cannot be parsed ( #5067 )
...
If the conditional cannot be parsed, the module will now catch the exception
and return a well formed failed message.
fixes #5060
2016-12-08 11:25:14 -05:00
Peter Sprygada
da4c11241f
fixes error when 'delete ...' config command is specified but doesn't exist ( #5064 )
...
The junos_config module will generate an exception if a 'delete ...' config
command is attempted to be loaded into a device configuration. This change
will first check to see if the delete command is valid and filter it out
of the change set if it is not valid.
fixes #5040
2016-12-08 11:25:14 -05:00
Nathaniel Case
aa82f48dc8
Network module code cleanup ( #5061 )
...
* Fix imports in junos_template
* Python 3 compatibility in eos_command
* Python 3 compatibility for ios_command
* Clean up issues with ios_facts
* Python 3 compatibility for ios_facts
* Import shuffle in ios_template
* Python 3 compatibility for iosxr_command
* Clean up iosxr_facts.py
* Python 3 compatibility for iosxr_facts
* Python 3 compatibility for junos_command
* Python 3 compatibility for ops_command
* Cleanup issues with ops_facts
* Python 3 compatibility for ops_facts
* Cleanup issues with ops_template
* Python 3 compatibility for vyos_command
* Cleanup issues with vyos_facts
* Python 3 compatibility for vyos_facts
2016-12-08 11:25:14 -05:00
Nathaniel Case
6ae0342a0a
Fix imports in junos_template ( #5059 )
2016-12-08 11:25:14 -05:00
Nathaniel Case
9b286b1775
eos_facts cleanup ( #5057 )
...
* dict.iteritems does not exist in Python 3
Now just dict.items
six.iteritems handles the change
* Addresses point 1
Unsure if this is a good idea or not.
* Addresses point 2
This shouldn't have any particular change, just marks load_comments as abstract
* Remove unused import
Addresses point 3
* Clarify invalid subset error message
Addresses point 4
2016-12-08 11:25:14 -05:00
Peter Sprygada
0ef16b44ca
fixes exception being raised when show configuration command issued ( #5047 )
...
The junos_command expects commands to be returned as xml by default but
`show configuration [options]` will return text not xml. This fix
will set the output format for any command that starts with `show
configuration` to text
fixes #4628
2016-12-08 11:25:14 -05:00
Peter Sprygada
a5b32fa0d1
fixes return passing output from command through jxmlease in junos_command ( #5044 )
...
The return string from the commands was not being passed through the
jxmlease library and therefore being returned as a string instead of a
json data structure. This also adds back the missing xml key in the
return that includes the raw xml string.
fixes #5001
2016-12-08 11:25:14 -05:00
Senthil Kumar Ganesan
4504f2d8c7
Update minimum required version and ssh rate limit ( #4995 )
2016-12-08 11:25:13 -05:00
Peter Sprygada
654a38897f
fixes exception raised when nxos_facts uses nxapi transport ( #4988 )
...
This fixes a condition where an exception is raised when collecting `interface`
facts and the transport is set to nxapi in the nxos_nxapi module.
fixes ansible/ansible#17691
2016-12-08 11:25:13 -05:00
Peter Sprygada
df6b7703bb
fixes default value in docstring for http ( #4985 )
...
The docstring incorrectly stated the default value for http is yes when
indeed its no. This fixes the docstring
2016-12-08 11:25:13 -05:00
Peter Sprygada
88b2c7e1f6
fixes bug where setting state=absent in nxos_nxapi is not idempotent ( #4984 )
...
When setting state=absent the nxos_nxapi module would always try to remove
the configuration regardless of the current state of the device. This will
fix that problem.
This also updates the docstring to correctly reflect https as default=no
fixes #4955
depends on ansible/ansible#17728
2016-12-08 11:25:13 -05:00
John R Barker
f63e5d078e
Force is not a 2.2 feature
...
9b5e6bbfa1
incorrectly chopped some text around
2016-12-08 11:25:13 -05:00
Peter Sprygada
b06123e986
fixes junos_config to be idempotent when confirming a commit ( #4946 )
...
The junos_config module would always return true when confirming a commit
This changes the module to now check first making the feature idempontent
2016-12-08 11:25:12 -05:00
Peter Sprygada
868c298968
fixes import statements in junos_package module ( #4929 )
...
This fixes the import statement to import NetworkModule from network instead
of from junos
2016-12-08 11:25:11 -05:00
Peter Sprygada
3e577f6312
fix up junos_facts import statements ( #4928 )
...
This fixes the junos_facts import statements and removes importing
NetworkModule from the junos shared module.
2016-12-08 11:25:11 -05:00
Peter Sprygada
b9cb9d6345
fix import in junos_command module ( #4927 )
...
This fixes the import statements in the junos_command module to be
consistent with all junos_* modules
2016-12-08 11:25:11 -05:00