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 @@ -1,15 +1,14 @@ --- - ansible.builtin.include_tasks: _remove_config.yaml - name: Setup vyos.vyos.vyos_config: lines: - set interfaces ethernet eth0 ip ospf cost 50 - set interfaces ethernet eth0 ip ospf priority 26 - set interfaces ethernet eth0 ipv6 ospfv3 mtu-ignore - 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 @@ -1,15 +1,15 @@ --- - name: Remove pre-existing OSPF processes vyos.vyos.vyos_config: lines: - delete interfaces ethernet eth0 ip ospf - delete interfaces ethernet eth0 ipv6 ospfv3 - delete interfaces ethernet eth1 ip ospf - delete interfaces ethernet eth1 ipv6 ospfv3 - delete interfaces bonding bond1 ip ospf - 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