From 5541214d04d136cb4be55d2dc3aecbeea25793a4 Mon Sep 17 00:00:00 2001 From: Kate Case Date: Tue, 28 Mar 2023 14:06:30 -0400 Subject: Delete bond2 interface when clearing config (#307) --- tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml | 1 - .../targets/vyos_ospf_interfaces/tests/cli/_remove_config.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/integration/targets') 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 e30e9fb9..4a24ff99 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 9a2e699b..1d0b96dc 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 -- cgit v1.2.3