summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKate Case <kcase@redhat.com>2023-03-28 14:06:30 -0400
committerGitHub <noreply@github.com>2023-03-28 14:06:30 -0400
commit5541214d04d136cb4be55d2dc3aecbeea25793a4 (patch)
treec6659984050160e1f0eefed4054151261a7ea033
parent2653fa8d08af498677604927399451415b25884e (diff)
downloadvyos.vyos-5541214d04d136cb4be55d2dc3aecbeea25793a4.tar.gz
vyos.vyos-5541214d04d136cb4be55d2dc3aecbeea25793a4.zip
Delete bond2 interface when clearing config (#307)
-rw-r--r--tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml1
-rw-r--r--tests/integration/targets/vyos_ospf_interfaces/tests/cli/_remove_config.yaml2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml
index e30e9fb..4a24ff9 100644
--- a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml
+++ b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml
@@ -10,6 +10,5 @@
- set interfaces ethernet eth0 ipv6 ospfv3 instance-id 33
- set interfaces bonding bond2 ip ospf transmit-delay 45
- set interfaces bonding bond2 ipv6 ospfv3 passive
- ignore_errors: true
vars:
ansible_connection: ansible.netcommon.network_cli
diff --git a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_remove_config.yaml b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_remove_config.yaml
index 9a2e699..1d0b96d 100644
--- a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_remove_config.yaml
+++ b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_remove_config.yaml
@@ -10,6 +10,6 @@
- delete interfaces bonding bond1 ipv6 ospfv3
- delete interfaces bonding bond2 ip ospf
- delete interfaces bonding bond2 ipv6 ospfv3
- ignore_errors: true
+ - delete interfaces bonding bond2
vars:
ansible_connection: ansible.netcommon.network_cli