@@ -1143,7 +1143,8 @@ def test_zone_with_vrf(self):
11431143 self .cli_set (['vrf' , 'name' , 'VRF-1' , 'table' , '101' ])
11441144 self .cli_set (['vrf' , 'name' , 'VRF-2' , 'table' , '102' ])
11451145 self .cli_set (['interfaces' , 'ethernet' , 'eth0' , 'vrf' , 'VRF-1' ])
1146- self .cli_set (['interfaces' , 'vti' , 'vti1' , 'vrf' , 'VRF-2' ])
1146+ self .cli_set (['interfaces' , 'vti' , 'vti1' , 'vrf' , 'VRF-1' ])
1147+ self .cli_set (['interfaces' , 'vti' , 'vti2' , 'vrf' , 'VRF-2' ])
11471148
11481149 self .cli_commit ()
11491150
@@ -1155,8 +1156,10 @@ def test_zone_with_vrf(self):
11551156 ['chain VYOS_ZONE_FORWARD' ],
11561157 ['type filter hook forward priority filter + 1' ],
11571158 ['oifname { "eth1", "eth2" }' , 'counter packets' , 'jump VZONE_ZONE1' ],
1159+ ['oifname { "eth0", "vti1" }' , 'counter packets' , 'jump VZONE_ZONE1' ],
11581160 ['oifname "VRF-1"' , 'counter packets' , 'jump VZONE_ZONE1' ],
11591161 ['oifname "vtun66"' , 'counter packets' , 'jump VZONE_ZONE2' ],
1162+ ['oifname "vti2"' , 'counter packets' , 'jump VZONE_ZONE2' ],
11601163 ['oifname "VRF-2"' , 'counter packets' , 'jump VZONE_ZONE2' ],
11611164 ['chain VYOS_ZONE_LOCAL' ],
11621165 ['type filter hook input priority filter + 1' ],
@@ -1190,8 +1193,10 @@ def test_zone_with_vrf(self):
11901193 ['chain VYOS_ZONE_FORWARD' ],
11911194 ['type filter hook forward priority filter + 1' ],
11921195 ['oifname { "eth1", "eth2" }' , 'counter packets' , 'jump VZONE_ZONE1' ],
1196+ ['oifname { "eth0", "vti1" }' , 'counter packets' , 'jump VZONE_ZONE1' ],
11931197 ['oifname "VRF-1"' , 'counter packets' , 'jump VZONE_ZONE1' ],
11941198 ['oifname "vtun66"' , 'counter packets' , 'jump VZONE_ZONE2' ],
1199+ ['oifname "vti2"' , 'counter packets' , 'jump VZONE_ZONE2' ],
11951200 ['oifname "VRF-2"' , 'counter packets' , 'jump VZONE_ZONE2' ],
11961201 ['chain VYOS_ZONE_LOCAL' ],
11971202 ['type filter hook input priority filter + 1' ],
@@ -1203,6 +1208,7 @@ def test_zone_with_vrf(self):
12031208 ['counter packets' , 'drop' , 'comment "zone_LOCAL default-action drop"' ],
12041209 ['chain VZONE_LOCAL_OUT' ],
12051210 ['oifname "vtun66"' , 'counter packets' , 'jump NAME6_LOCAL_to_ZONE2_v6' ],
1211+ ['oifname "vti2"' , 'counter packets' , 'jump NAME6_LOCAL_to_ZONE2_v6' ],
12061212 ['oifname "VRF-2"' , 'counter packets' , 'jump NAME6_LOCAL_to_ZONE2_v6' ],
12071213 ['counter packets' , 'drop' , 'comment "zone_LOCAL default-action drop"' ],
12081214 ['chain VZONE_ZONE1' ],
0 commit comments