ansible/test/integration
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
..
host_vars ansible-test: Use psrp for 2008 host ci_complete (#55273) 2019-04-23 08:13:03 +10:00
targets nxos_vlan: fix broken purge behavior (issue #57101) (#57229) 2019-06-04 09:14:09 +05:30
cloud-config-aws.ini.template
cloud-config-azure.ini.template
cloud-config-cloudscale.ini.template
cloud-config-cs.ini.template
cloud-config-gcp.ini.template
cloud-config-hcloud.ini.template Add Hetzner Cloud to CI integration tests. 2019-04-09 15:41:50 -07:00
cloud-config-opennebula.ini.template
cloud-config-openshift.kubeconfig.template
cloud-config-scaleway.ini.template Migrate Scaleway tests to integration tests 2019-04-09 15:41:30 -07:00
cloud-config-tower.ini.template
cloud-config-vultr.ini.template
integration.cfg Force tests to set ansible_python_interpreter. (#54191) 2019-03-21 21:54:41 -07:00
integration_config.yml
inventory
inventory.networking.template
inventory.remote.template
inventory.winrm.template
network-integration.cfg Use stdout_callback yaml for network-integration tests (#56102) 2019-05-06 21:01:40 +05:30
target-prefixes.network
windows-integration.cfg