community.general/lib/ansible/modules/network
Chris Van Heuveln 1554befd95 nxos_vpc:Fix multiple idempotency issues, add missing commands (#55735)
* nxos_vpc:Fix idempotency issues with multiple attributes

Several attributes were causing idempotency problems on various platforms:

- `auto_recovery`
 - This command can be disabled on certain platforms and will nvgen as `no auto-recovery`
 - When enabled it has an additional optional-keyword for changing the `reload-delay` timer value
  - This was addressed by adding a new attribute `auto_recovery_reload_delay` to handle setting the timer value
  - This new attribute is mutually exclusive with `auto_recovery`

- `/show run vpc/show run vpc all/`
 - Changed the command that gets state to `all` so that it could differentiate between `auto-recovery` and `auto-recovery reload-delay`
 - This change resulted in also changing some attribute handling withing `get_vpc`, since some attributes like `peer_gw` relied on presence of the config to determine state true or false. With `all` the config is always there so these attrs must specifically check for `'no '` in the string.

- `delay_restore`
 - This command has two additional, optional keywords that exist on some platforms and not others.
 - New attrs:
  - `delay_restore_interface_vlan`
  - `delay_restore_orphan_port`

- Modified the `sanity` test to include the new attributes and to fix the platform issues.

- Bugfix Pull Request

`modules/network/nxos/nxos_vpc.py`

- Validated `nxos_vpc` `sanity` test on these platforms, all are now 100% Pass: N35, N3K, N3K-F, N6K, N7K, N9K, N9K-F

- TBD: Future work is needed to add support for `peer_gw_exclude_gw` timers. This could be addressed in the same way as the `auto_recovery_reload_delay` changes included here.

* lint fix

* Add 'version_added' tags for new options
2019-05-10 13:17:02 +05:30
..
a10 Fix some module author names (#55770) 2019-04-26 16:11:35 +01:00
aci Fix some index-references and warn about remaining (#55727) 2019-05-07 15:00:04 +02:00
aireos Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
aos Remove modules which have ended their deprecation cycle 2019-04-12 12:57:35 -07:00
aruba Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
asa ASA network/service object-group module (#52925) 2019-04-03 23:22:45 +05:30
avi Avi: Fixed import issues (#52661) 2019-03-06 12:09:49 -05:00
bigswitch Assorted pylint fixes 2019-02-15 06:54:47 -08:00
checkpoint Resolves handling of error and failure scenarios from Checkpoint module end (#54890) 2019-04-08 21:37:52 +05:30
citrix Stub out modules scheduled for 2.8 removal (#44985) 2018-08-31 16:27:32 -05:00
cli Expose newline option to cli_command module (#55451) 2019-05-07 17:25:57 -04:00
cloudengine fix bugs for ce (#54750) 2019-04-17 12:51:58 +05:30
cloudvision Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
cnos Coverity Bug Fix for cnos_vrf.py (#55954) 2019-05-01 10:57:04 -04:00
cumulus Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
dellos6 Fix pycodestyle E117 issues. 2019-02-13 23:35:39 -08:00
dellos9 Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
dellos10 Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
edgeos Fix some module author names (#55770) 2019-04-26 16:11:35 +01:00
edgeswitch Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
enos Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
eos eos_l2_interface: Handle Interface does not exist (#56140) 2019-05-10 13:14:29 +05:30
exos Exos httpapi (#54405) 2019-03-27 14:44:04 +01:00
f5 fixes an edge case where order of devices parameters breaks idempotency (#55181) 2019-04-11 12:51:16 -07:00
files Add note to network agnostic modules for supported platforms (#51617) 2019-02-05 15:18:54 -06:00
fortimanager FortiManager Plugin Module Conversion: fmgr_ha (#52768) 2019-03-07 12:31:17 +05:30
fortios Fortinet's FortiOS voip profile (#52833) 2019-03-13 13:07:19 +05:30
frr Fix some module author names (#55770) 2019-04-26 16:11:35 +01:00
ftd Add latest updates from FTD Ansible downstream repository. (#53638) 2019-04-01 18:08:01 +05:30
illumos Add type int for various argument params (#55026) 2019-04-10 16:19:00 -04:00
ingate modules: network: ingate: Add module ig_store_edit (#47675) 2019-01-17 23:05:45 -05:00
interface Add note to network agnostic modules for supported platforms (#51617) 2019-02-05 15:18:54 -06:00
ios Revert nxos, ios, iosxr return_timestamps (#56206) 2019-05-08 20:49:29 +05:30
iosxr Revert nxos, ios, iosxr return_timestamps (#56206) 2019-05-08 20:49:29 +05:30
ironware Update slxos_vlan for new SLX-OS versions, linting fixes (#52956) 2019-03-15 08:55:50 +00:00
itential itential iap_start_workflow module (#51238) 2019-03-07 13:23:40 -05:00
junos Fix some module author names (#55770) 2019-04-26 16:11:35 +01:00
layer2 Add note to network agnostic modules for supported platforms (#51617) 2019-02-05 15:18:54 -06:00
layer3 Add note to network agnostic modules for supported platforms (#51617) 2019-02-05 15:18:54 -06:00
meraki meraki/meraki_network - Enable/disable VLANs on network (#48820) 2019-05-01 12:24:39 -04:00
netact Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
netconf Fix netconf_config backup string issue (#56175) 2019-05-07 11:31:58 -04:00
netscaler Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
netvisor Pluribus network prefix list module (#55686) 2019-05-09 10:31:06 +05:30
nos Update slxos_vlan for new SLX-OS versions, linting fixes (#52956) 2019-03-15 08:55:50 +00:00
nso NSO modules now work as expected with NSO 5.X (#54766) 2019-04-03 20:56:35 +01:00
nuage Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
nxos nxos_vpc:Fix multiple idempotency issues, add missing commands (#55735) 2019-05-10 13:17:02 +05:30
onyx Adding Support For Vxlan In Onyx Switches (#55081) 2019-04-11 20:59:11 +05:30
opx opx_cps_changes (#51952) 2019-03-07 03:41:36 -05:00
ordnance Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
ovs Fix pycodestyle E117 issues. 2019-02-13 23:35:39 -08:00
panos Remove modules which have ended their deprecation cycle 2019-04-12 12:57:35 -07:00
protocol Add note to network agnostic modules for supported platforms (#51617) 2019-02-05 15:18:54 -06:00
radware standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
restconf Add missing RETURN to restconf_config (#53324) 2019-03-05 08:53:23 -05:00
routeros Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
routing add agnostic doc fragment (#52673) 2019-02-20 15:18:12 -06:00
skydive PR to include support for Skydive Node and Edge modules with Ansible (#53112) 2019-03-13 16:22:31 +05:30
slxos Update slxos_vlan for new SLX-OS versions, linting fixes (#52956) 2019-03-15 08:55:50 +00:00
sros Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
system Add note to network agnostic modules for supported platforms (#51617) 2019-02-05 15:18:54 -06:00
voss Update slxos_vlan for new SLX-OS versions, linting fixes (#52956) 2019-03-15 08:55:50 +00:00
vyos Fix some module author names (#55770) 2019-04-26 16:11:35 +01:00
__init__.py package files 2016-12-08 11:22:22 -05:00