Commit Graph

841 Commits (ef85fcb068adeea6498f62809abb8ff488ef5192)

Author SHA1 Message Date
Gabriele ef85fcb068 Fixing nxos_hsrp (#5009)
* Fixing nxos_hsrp

* Adding space after =
9 years ago
Senthil Kumar Ganesan dad21ce886 Remove the dellosX_template module (#5110) 9 years ago
Peter Sprygada 2db006450d roll up of unicode fixes in junos modules (#5113)
* fixes junos_template (fixes #3962)
* fixes junos_config
9 years ago
Gabriele 201d041c4b Add ethernet-link-oam mapping to nxos_feature (#4956)
* Add ethernet-link-oam mapping

* Adding port-secutiry mapping

* Fixing command output format
9 years ago
Gabriele 21078d7462 Fixing nxos_vlan (#5005)
* Fixing nxos_vlan

* Fixing docstring

* Fixing docstring
9 years ago
Gabriele 813a14f046 Fixing nxos_aaa_server (#5002)
* Fixing command output formatting

* Fixing cmds
9 years ago
Gabriele 8da99d4e70 Fixing nxos_acl (#5006)
* Fixing nxos_acl

* Fixing nxos_acl
9 years ago
Gabriele c88404c119 Fixing nxos_acl_interface (#5007) 9 years ago
Gabriele 41d8627376 Fixing nxos_interface (#5012) 9 years ago
Gabriele c977859ae5 Fxing nxos_ip_interface (#5013) 9 years ago
Gabriele 5cc4a7766a Fixing nxos_mtu (#5014) 9 years ago
Gabriele 82828fc1a0 Fixing nxos_ntp (#5015) 9 years ago
Gabriele a6c021219e Fixing nxos_ntp_auth (#5016) 9 years ago
Gabriele 88a2102787 Fixing nxos_ntp_options (#5017) 9 years ago
Gabriele 9f0aec160b Fixing nxos_pim_interface (#5018) 9 years ago
Gabriele c4941285cb Fixing nxos_portchannel (#5019) 9 years ago
Gabriele 33b8a89702 Fixing nxos_smu (#5021) 9 years ago
Gabriele 11f628a124 Fixing nxos_snmp_community (#5022) 9 years ago
Gabriele 099aa0d82d Fixing nxos_snmp_contact (#5023) 9 years ago
Gabriele 26ebb1acb9 Fixing nxos_snmp_host (#5024) 9 years ago
Gabriele 21fe7a1e13 Fixing nxos_snmp_location (#5025) 9 years ago
Gabriele f836de5e4b Fixing nxos_snmp_traps (#5026) 9 years ago
Gabriele d75121b3c1 Fixing nxos_snmp_user (#5027) 9 years ago
Gabriele 0d985071e1 Fixing nxos_udld_interface (#5030) 9 years ago
Gabriele c7e711bd35 Fixing nxos_switchport (#5028) 9 years ago
Gabriele 7e2a87b43f Fixing nxos_udld (#5029) 9 years ago
Gabriele 3b4bbb2497 Fixing nxos_vpc_interface (#5032) 9 years ago
Gabriele 770fd68b42 Fixing nxos_vrf (#5033) 9 years ago
Gabriele db818dddcb Fixing nxos_vpc (#5031) 9 years ago
Gabriele 39cd41f636 Fixing nxos_vrf_interface (#5034) 9 years ago
Gabriele 690bbcb148 Fixing nxos_vtp_domain (#5036) 9 years ago
Gabriele ba3485999a Fixing nxos_vrrp (#5035) 9 years ago
Gabriele 2704b208cc Fixing nxos_vtp_password (#5037) 9 years ago
Gabriele 137d1373d3 Fixing nxos_vtp_version (#5038) 9 years ago
Peter Sprygada 8bc1b32297 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.
9 years ago
Peter Sprygada 4fcb9dceff fixes junos_template ignoring the action directive (#5080)
This updates the junos_template to properly process the action
directive when loading the configuration.
9 years ago
John R Barker 752c80f8b7 deprecated _template network modules: Rename in modules-core (#5072) 9 years ago
John R Barker 6b5d30ff11 typo in module name (#5062) 9 years ago
Peter Sprygada f3a2fb3dae 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.
9 years ago
Peter Sprygada 340ff31075 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
9 years ago
Peter Sprygada a1c3ce0ad1 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
9 years ago
Nathaniel Case 9a0add286f 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
9 years ago
Nathaniel Case cb29cbf6bc Fix imports in junos_template (#5059) 9 years ago
Nathaniel Case bdab56efa8 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
9 years ago
Peter Sprygada 87f47a44c9 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
9 years ago
Peter Sprygada 57350f84cd 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
9 years ago
Senthil Kumar Ganesan cf243860ff Update minimum required version and ssh rate limit (#4995) 9 years ago
Peter Sprygada 13c7288aea 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
9 years ago
Peter Sprygada 1dd2b849dc 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
9 years ago
Peter Sprygada a923689182 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
9 years ago