Commit Graph

847 Commits (6c4d71a7fab60601846363506bc8eebe9c52c240)

Author SHA1 Message Date
Peter Sprygada 857e1d374b 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.
8 years ago
Gabriele 423b4a5909 Adding more details on DOCSTRING about how to use the module (#5121) 8 years ago
Peter Sprygada 8afe2402db adds exception handling for AddConditionError (#5124)
AddConditionErrors are now handled by nxos_command and a well formed error
is returned from the module
8 years ago
Peter Sprygada 886757b4dd 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
8 years ago
Gabriele d35cd80b7e Improving nxos_igmp_snooping (#5011) 8 years ago
Gabriele d47e38a8f9 Fixing nxos_igmp_interface (#5010) 8 years ago
Gabriele ef85fcb068 Fixing nxos_hsrp (#5009)
* Fixing nxos_hsrp

* Adding space after =
8 years ago
Senthil Kumar Ganesan dad21ce886 Remove the dellosX_template module (#5110) 8 years ago
Peter Sprygada 2db006450d roll up of unicode fixes in junos modules (#5113)
* fixes junos_template (fixes #3962)
* fixes junos_config
8 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
8 years ago
Gabriele 21078d7462 Fixing nxos_vlan (#5005)
* Fixing nxos_vlan

* Fixing docstring

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

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

* Fixing nxos_acl
8 years ago
Gabriele c88404c119 Fixing nxos_acl_interface (#5007) 8 years ago
Gabriele 41d8627376 Fixing nxos_interface (#5012) 8 years ago
Gabriele c977859ae5 Fxing nxos_ip_interface (#5013) 8 years ago
Gabriele 5cc4a7766a Fixing nxos_mtu (#5014) 8 years ago
Gabriele 82828fc1a0 Fixing nxos_ntp (#5015) 8 years ago
Gabriele a6c021219e Fixing nxos_ntp_auth (#5016) 8 years ago
Gabriele 88a2102787 Fixing nxos_ntp_options (#5017) 8 years ago
Gabriele 9f0aec160b Fixing nxos_pim_interface (#5018) 8 years ago
Gabriele c4941285cb Fixing nxos_portchannel (#5019) 8 years ago
Gabriele 33b8a89702 Fixing nxos_smu (#5021) 8 years ago
Gabriele 11f628a124 Fixing nxos_snmp_community (#5022) 8 years ago
Gabriele 099aa0d82d Fixing nxos_snmp_contact (#5023) 8 years ago
Gabriele 26ebb1acb9 Fixing nxos_snmp_host (#5024) 8 years ago
Gabriele 21fe7a1e13 Fixing nxos_snmp_location (#5025) 8 years ago
Gabriele f836de5e4b Fixing nxos_snmp_traps (#5026) 8 years ago
Gabriele d75121b3c1 Fixing nxos_snmp_user (#5027) 8 years ago
Gabriele 0d985071e1 Fixing nxos_udld_interface (#5030) 8 years ago
Gabriele c7e711bd35 Fixing nxos_switchport (#5028) 8 years ago
Gabriele 7e2a87b43f Fixing nxos_udld (#5029) 8 years ago
Gabriele 3b4bbb2497 Fixing nxos_vpc_interface (#5032) 8 years ago
Gabriele 770fd68b42 Fixing nxos_vrf (#5033) 8 years ago
Gabriele db818dddcb Fixing nxos_vpc (#5031) 8 years ago
Gabriele 39cd41f636 Fixing nxos_vrf_interface (#5034) 8 years ago
Gabriele 690bbcb148 Fixing nxos_vtp_domain (#5036) 8 years ago
Gabriele ba3485999a Fixing nxos_vrrp (#5035) 8 years ago
Gabriele 2704b208cc Fixing nxos_vtp_password (#5037) 8 years ago
Gabriele 137d1373d3 Fixing nxos_vtp_version (#5038) 8 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.
8 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.
8 years ago
John R Barker 752c80f8b7 deprecated _template network modules: Rename in modules-core (#5072) 8 years ago
John R Barker 6b5d30ff11 typo in module name (#5062) 8 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.
8 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
8 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
8 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
8 years ago
Nathaniel Case cb29cbf6bc Fix imports in junos_template (#5059) 8 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
8 years ago