File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed
tests/integration/gateway Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ links:
42
42
43
43
validate :
44
44
r2_eth1_down :
45
- description : Remove R2 from the VRRP LAN
45
+ description : Put ACL to remove R2 from the VRRP LAN
46
46
nodes : [ r2 ]
47
47
config :
48
- template : ifdown
49
- variable.ifstate : ' down '
48
+ template : acl
49
+ variable.acl : ' drop '
50
50
pass : R2 has been disconnected from the VRRP LAN
51
51
stop_on_error : True
52
52
ra :
@@ -65,8 +65,8 @@ validate:
65
65
description : Add R2 to the VRRP LAN
66
66
nodes : [ r2 ]
67
67
config :
68
- template : ifdown
69
- variable.ifstate : ' up '
68
+ template : acl
69
+ variable.acl : ' allow '
70
70
pass : R2 has been reconnected to the VRRP LAN
71
71
stop_on_error : True
72
72
r2_vrrp_backup :
Original file line number Diff line number Diff line change
1
+ ipv6 access-list drop-ipv6
2
+ 10 deny ipv6 any any
3
+ !
4
+
5
+ ipv6 access-list drop-vrrp
6
+ 10 deny 112 any any
7
+ !
8
+
9
+ interface {{ interfaces[0] .ifname }}
10
+ {{ 'no ' if acl|default('allow') == 'allow' else '' }}ipv6 access-group drop-ipv6 in
11
+ {{ 'no ' if acl|default('allow') == 'allow' else '' }}ipv6 access-group drop-vrrp out
You can’t perform that action at this time.
0 commit comments