Skip to content

Commit f9b87ea

Browse files
committed
SLAAC integration tests
1 parent 35ee4df commit f9b87ea

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

tests/integration/targets/vyos_l3_interfaces/tests/cli/deleted.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
- name: Assert that the correct set of commands were generated (SLAAC)
7272
assert:
7373
that:
74-
- "{{ deleted['commands_slaac'] | symmetric_difference(result['commands']) |length == 0 }}"
74+
- "{{ deleted['commands'] | symmetric_difference(result['commands']) |length == 0 }}"
7575

7676
- name: Assert that the after dicts were correctly generated (SLAAC)
7777
assert:

tests/integration/targets/vyos_l3_interfaces/vars/main.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,20 +170,15 @@ rendered:
170170

171171
deleted:
172172
commands:
173-
- delete interfaces ethernet eth1 address '192.0.2.14/24'
174-
- delete interfaces ethernet eth2 address '192.0.2.10/24'
175-
- delete interfaces ethernet eth2 address '192.0.2.11/24'
176-
- delete interfaces ethernet eth2 address '2001:db8::10/32'
177-
- delete interfaces ethernet eth2 address '2001:db8::12/32'
173+
- delete interfaces ethernet eth1
174+
- delete interfaces ethernet eth2
178175
commands_slaac:
179176
- delete interfaces ethernet eth1 ipv6 address 'autoconf'
180177
- delete interfaces ethernet eth2 vif 101 ipv6 address 'autoconf'
181178
after:
182179
- name: eth0
183180
ipv4:
184181
- address: dhcp
185-
- name: eth1
186-
- name: eth2
187182
before_slaac:
188183
- name: eth0
189184
ipv4:

0 commit comments

Comments
 (0)