community.general/lib/ansible/modules/network
Sander Steffann 06f76a2741 Fix IndexError when junos_config contains multiple delete lines (#25139)
* Prevent IndexError when deleting multiple lines

The old code will raise `IndexError: list assignment index out of range` when deleting multiple lines because the indexes of the original and the copy get out of sync. Solved by deleting from the high indexes first so the lower ones remain stable.

* Don't load configuration if nothing to load

Instead of sending an empty candidate config (for example because the candidate only consisted of `delete` lines, and all of them were filtered out by `filter_delete_statements`) just return. JunOS seems to get confused by empty changes, and if the candidate config is empty then it's a no-op anyway.
2017-05-30 11:55:25 +05:30
..
a10 Remove redundant return statement from a10_ser* (#24930) 2017-05-23 16:45:24 -04:00
aos aos_login change default port and add version check (#24752) 2017-05-26 11:59:51 +01:00
asa Correct RETURN data types for Network modules (#24104) 2017-04-28 12:15:18 +01:00
avi Avi module to setup GSLB Geo DB profile. (#24812) 2017-05-19 08:34:12 +01:00
bigswitch [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
citrix Fixed import of urlencode and pathname2url from urllib for python3 (#24424) 2017-05-19 12:22:16 -05:00
cloudengine Minor fixes (#25059) 2017-05-26 15:17:08 +01:00
cumulus Fixed wrong variable in cumulus network module (#23950) 2017-05-19 12:49:07 -04:00
dellos6 network_cli modules don't always return stdout or stdout_lines (#23573) 2017-04-13 11:59:23 -04:00
dellos9 network_cli modules don't always return stdout or stdout_lines (#23573) 2017-04-13 11:59:23 -04:00
dellos10 network_cli modules don't always return stdout or stdout_lines (#23573) 2017-04-13 11:59:23 -04:00
eos eos_user Add documentation and example to change password (#24750) 2017-05-24 21:27:50 +05:30
f5 Adds the bigip_snmp_trap module to Ansible (#24848) 2017-05-24 12:57:30 -04:00
fortios Revert "[WIP]Fortios address group" (#24549) 2017-05-12 10:56:39 -06:00
illumos Correct RETURN data types for Network modules (#24104) 2017-04-28 12:15:18 +01:00
ios Fixes #24251 save config only if it is changed (#24345) 2017-05-16 19:54:36 +05:30
iosxr Workaround for unicast RPF check (#24519) 2017-05-16 10:11:52 -04:00
junos Fix IndexError when junos_config contains multiple delete lines (#25139) 2017-05-30 11:55:25 +05:30
lenovo [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
netconf Update netconf_config.py (#24323) 2017-05-09 16:04:59 -04:00
netvisor [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
nxos nxos_static_route updates (#24992) 2017-05-25 12:19:04 -04:00
openswitch Correct RETURN data types for Network modules (#24104) 2017-04-28 12:15:18 +01:00
ordnance Correct RETURN data types for Network modules (#24104) 2017-04-28 12:15:18 +01:00
ovs openvswitch_bridge.py: Avoid runtime error with no external_ids (#25128) 2017-05-29 14:44:17 +02:00
panos removing folded style formatting for synopsis (#22746) 2017-05-12 10:00:19 -06:00
sros Correct RETURN data types for Network modules (#24104) 2017-04-28 12:15:18 +01:00
vyos Add name_servers alias to name_server vyos_system parameter (#24972) 2017-05-24 12:15:51 +02:00
__init__.py package files 2016-12-08 11:22:22 -05:00