From a17832195c5fc42d6d0ec3dd7cc4868694bed88d Mon Sep 17 00:00:00 2001 From: Wataru Ishida Date: Fri, 4 Nov 2016 13:19:47 +0900 Subject: support neighbor belongs to VRF $ gobgp vrf add red rd 100:100 rt both 100:100 $ gobgp neighbor add 10.0.0.1 as 2 vrf red $ gobgp vrf red neighbor Peer AS Up/Down State |#Advertised Received Accepted 10.0.0.1 2 never Active | 0 0 0 Signed-off-by: Wataru Ishida --- test/scenario_test/bgp_zebra_test.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/scenario_test/bgp_zebra_test.py') diff --git a/test/scenario_test/bgp_zebra_test.py b/test/scenario_test/bgp_zebra_test.py index 7693c355..a5b57cf8 100644 --- a/test/scenario_test/bgp_zebra_test.py +++ b/test/scenario_test/bgp_zebra_test.py @@ -190,10 +190,14 @@ class GoBGPTestBase(unittest.TestCase): log_level=parser_option.gobgp_log_level, config_format=parser_option.config_format, zebra=True) - g2 = GoBGPContainer(name='g2', asn=65001, router_id='192.168.0.2') - g3 = GoBGPContainer(name='g3', asn=65001, router_id='192.168.0.3') - g4 = GoBGPContainer(name='g4', asn=65000, router_id='192.168.0.4') - g5 = GoBGPContainer(name='g5', asn=65000, router_id='192.168.0.5') + g2 = GoBGPContainer(name='g2', asn=65001, router_id='192.168.0.2', + ctn_image_name=parser_option.gobgp_image) + g3 = GoBGPContainer(name='g3', asn=65001, router_id='192.168.0.3', + ctn_image_name=parser_option.gobgp_image) + g4 = GoBGPContainer(name='g4', asn=65000, router_id='192.168.0.4', + ctn_image_name=parser_option.gobgp_image) + g5 = GoBGPContainer(name='g5', asn=65000, router_id='192.168.0.5', + ctn_image_name=parser_option.gobgp_image) ctns = [g1, g2, g3, g4, g5] for ctn in ctns: -- cgit v1.2.3