Files
community.general/test/integration/targets
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
..
2018-12-29 13:52:40 +00:00
2019-04-12 16:03:08 -07:00
2019-03-13 15:05:10 -07:00
2019-03-28 19:19:37 +05:30
2019-03-28 19:19:37 +05:30
2019-03-28 19:19:37 +05:30
2019-03-28 19:19:37 +05:30
2019-03-28 19:19:37 +05:30
2019-03-31 23:36:56 +02:00
2019-03-31 23:36:56 +02:00
2019-03-31 23:36:56 +02:00
2019-04-18 20:27:40 +10:00
2019-04-04 08:55:34 +01:00
2018-06-04 07:32:23 -04:00
2019-02-01 09:20:02 -05:00
2019-03-12 18:18:38 -04:00
2018-06-05 07:37:24 -04:00
2018-08-24 10:51:57 +05:30
2018-06-28 10:11:45 +05:30
2019-04-25 22:35:36 -07:00
2019-04-17 11:28:01 +10:00
2019-04-17 11:28:01 +10:00
2019-03-29 11:37:36 -07:00
2018-10-07 16:03:48 -04:00
2018-08-23 21:04:18 -04:00
2018-11-08 10:50:46 +00:00
2019-04-11 00:06:53 +02:00
2019-03-21 19:05:16 -07:00
2018-05-03 09:59:36 -04:00
2019-04-02 23:41:43 -07:00
2019-04-02 23:41:43 -07:00
2019-03-19 15:37:14 +10:00
2019-04-02 23:41:43 -07:00
2019-04-09 06:45:04 +10:00
2019-04-02 23:41:43 -07:00
2019-04-02 23:41:43 -07:00
2018-12-05 22:39:06 -05:00
2018-11-19 11:09:53 -08:00
2019-04-02 23:41:43 -07:00
2019-04-07 20:11:32 +01:00