Skip to content

Commit fc05ec4

Browse files
committed
Coverage
1 parent 1463520 commit fc05ec4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

go/testdata/print-group/mixed-ipv4-ipv6.t

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ network:n1
2828
2001:db8:1:1::1 interface:r1.n1
2929
=PARAM=interface:r1.[all]
3030

31+
############################################################
32+
=TITLE=All interfaces from combined router from v4 interface
33+
=INPUT=
34+
network:n1 = { ip = 10.1.1.0/24; }
35+
network:n2 = { ip = 10.1.2.0/24; ip6 = 2001:db8:1:2::/64; }
36+
router:r1 = {
37+
interface:n1 = { ip = 10.1.1.1; }
38+
interface:n2 = { ip = 10.1.2.1; ip6 = 2001:db8:1:2::1; hardware = n2; }
39+
}
40+
=OUTPUT=
41+
10.1.1.1 interface:r1.n1
42+
10.1.2.1 interface:r1.n2
43+
2001:db8:1:2::1 interface:r1.n2
44+
=PARAM=interface:[interface:r1.n1].[all]
45+
3146
############################################################
3247
=TITLE=Anonymous matching aggregate where attribute ip has v6 address
3348
=INPUT=

0 commit comments

Comments
 (0)