@@ -157,6 +157,9 @@ def test_rpki(self):
157
157
for test_set in [ {'path' : base_path , 'frrargs' : base_frr_config_args },
158
158
{'path' : vrf_path + base_path , 'frrargs' : vrf_frr_config_args } ]:
159
159
160
+ if 'vrf' in test_set ['path' ]:
161
+ self .cli_set (vrf_path + ['table' , '1000' ]
162
+
160
163
self .cli_set (test_set ['path' ] + ['expire-interval' , expire_interval ])
161
164
self .cli_set (test_set ['path' ] + ['polling-period' , polling_period ])
162
165
self .cli_set (test_set ['path' ] + ['retry-interval' , retry_interval ])
@@ -201,6 +204,9 @@ def test_rpki_ssh(self):
201
204
for test_set in [ {'path' : base_path , 'frrargs' : base_frr_config_args },
202
205
{'path' : vrf_path + base_path , 'frrargs' : vrf_frr_config_args } ]:
203
206
207
+ if 'vrf' in test_set ['path' ]:
208
+ self .cli_set (vrf_path + ['table' , '1000' ]
209
+
204
210
for cache_name , cache_config in cache .items ():
205
211
self .cli_set (test_set ['path' ] + ['cache' , cache_name , 'port' , cache_config ['port' ]])
206
212
self .cli_set (test_set ['path' ] + ['cache' , cache_name , 'preference' , cache_config ['preference' ]])
@@ -259,6 +265,9 @@ def test_rpki_verify_preference(self):
259
265
for test_set in [ {'path' : base_path , 'frrargs' : base_frr_config_args },
260
266
{'path' : vrf_path + base_path , 'frrargs' : vrf_frr_config_args } ]:
261
267
268
+ if 'vrf' in test_set ['path' ]:
269
+ self .cli_set (vrf_path + ['table' , '1000' ]
270
+
262
271
for peer , peer_config in cache .items ():
263
272
self .cli_set (test_set ['path' ] + ['cache' , peer , 'port' , peer_config ['port' ]])
264
273
self .cli_set (test_set ['path' ] + ['cache' , peer , 'preference' , peer_config ['preference' ]])
@@ -280,6 +289,9 @@ def test_rpki_source_address(self):
280
289
for test_set in [ {'path' : base_path , 'frrargs' : base_frr_config_args },
281
290
{'path' : vrf_path + base_path , 'frrargs' : vrf_frr_config_args } ]:
282
291
292
+ if 'vrf' in test_set ['path' ]:
293
+ self .cli_set (vrf_path + ['table' , '1000' ]
294
+
283
295
# Configure a TCP cache server
284
296
self .cli_set (test_set ['path' ] + ['cache' , peer , 'port' , port ])
285
297
self .cli_set (test_set ['path' ] + ['cache' , peer , 'preference' , preference ])
0 commit comments