You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
6 years ago
..
host_vars ansible-test: Use psrp for 2008 host ci_complete (#55273) 6 years ago
targets nxos_vlan: fix broken purge behavior (issue #57101) (#57229) 6 years ago
cloud-config-aws.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-azure.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-cloudscale.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-cs.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-gcp.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-hcloud.ini.template Add Hetzner Cloud to CI integration tests. 6 years ago
cloud-config-opennebula.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 7 years ago
cloud-config-scaleway.ini.template Migrate Scaleway tests to integration tests 6 years ago
cloud-config-tower.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-vultr.ini.template tests: vultr: convert legacy tests to targets (#50156) 6 years ago
integration.cfg Force tests to set ansible_python_interpreter. (#54191) 6 years ago
integration_config.yml Fix pip integration test. 7 years ago
inventory Overhaul ansible-test code coverage and injector. (#53510) 6 years ago
inventory.networking.template Rename MSC modules to MSO nomenclature (#50959) 6 years ago
inventory.remote.template
inventory.winrm.template Cleanup integration test inventory. (#50753) 6 years ago
network-integration.cfg Use stdout_callback yaml for network-integration tests (#56102) 6 years ago
target-prefixes.network Rename MSC modules to MSO nomenclature (#50959) 6 years ago
windows-integration.cfg Enable force_handlers for integration tests. 6 years ago