Files
community.general/test/integration/targets
Chris Van Heuveln 6bb13bbb84 nxos_vlan: fix broken purge behavior (issue #57101) (#57229)
* nxos_vlan: fix broken purge behavior (issue #57101)

Symptoms/Analysis:
- `nxos_vlan` `purge: true` would fail when `purge` was trying to delete all unspecified vlans, including vlan 1.
- `nxos` devices do not allow removing vlan 1 and raise a cli exception error
- Previous fix #55144 caused a side effect when `purge` was used: vlan changes specified by `aggregate` were ignored; e.g.
 - vlan 4 is not present; playbook specifies `aggregate: { vlan: 4 }, purge: true`
 - results in proper purging but vlan 4 is not created

Solutions:
- ignore vlan 1 when purging
- remove the `not purge` check from state present logic

Added additional unit tests and integration tests.
Tested against all regression platforms.

* PEP fixes

* Add agg_show_vlan_brief.txt fixture

* Add warning for removing vlan 1

* change method name check
2019-06-04 09:14:09 +05:30
..
2018-12-29 13:52:40 +00:00
2019-05-17 10:36:14 +10: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-05-17 07:25:25 -07:00
2019-05-17 07:25:25 -07:00
2019-04-04 08:55:34 +01:00
2018-06-04 07:32:23 -04:00
2019-05-28 20:25:45 -04: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
2019-05-23 17:40:19 -04:00
2019-05-23 17:40:19 -04:00
2019-05-23 17:40:19 -04:00
2019-05-23 17:40:19 -04:00
2019-05-23 17:40:19 -04:00
2019-05-23 17:40:19 -04:00
2019-05-23 17:40:19 -04:00
2019-05-23 17:40:19 -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
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