summaryrefslogtreecommitdiff
path: root/test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2020-02-06 10:20:08 -0500
committerGitHub <noreply@github.com>2020-02-06 10:20:08 -0500
commitc3635532d3047ff944761005790d4be1111a8f72 (patch)
treee07a9ebea0a72747d5d2fbd31a8b54f2951c4ec9 /test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml
parent637eed5a5c3cff7e7d71faadc5de6e591e32d1d0 (diff)
downloadansible-c3635532d3047ff944761005790d4be1111a8f72.tar.gz
Revert "Allow httpapi for EOS resource modules (#66871)" (#67131)
This looks to be causing issues for our new ansible.netcommon collection. Revert for now, until we can properly address. This reverts commit 53c7f8cbdee3c798a6947b834d0640935155d85b.
Diffstat (limited to 'test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml')
-rw-r--r--test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml b/test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml
new file mode 100644
index 0000000000..d71a6a9db4
--- /dev/null
+++ b/test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml
@@ -0,0 +1,16 @@
+---
+- name: Remove all vlans
+ cli_config:
+ config: no vlan 1-4094
+ become: yes
+
+- name: Completely remove vlans from interfaces
+ cli_config:
+ config: |
+ interface {{ item }}
+ no switchport mode
+ no switchport access vlan
+ with_items:
+ - Ethernet1
+ - Ethernet2
+ become: yes