summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/bgp_zebra_test.py
diff options
context:
space:
mode:
authorWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-11-04 13:19:47 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-04 13:19:47 +0900
commita17832195c5fc42d6d0ec3dd7cc4868694bed88d (patch)
tree14381d27f1e58a6c399de90cc206d2433d8d366f /test/scenario_test/bgp_zebra_test.py
parent97bc9dd0da71ce743dbb7deb4a09f260ca518dcc (diff)
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 <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/bgp_zebra_test.py')
-rw-r--r--test/scenario_test/bgp_zebra_test.py12
1 files changed, 8 insertions, 4 deletions
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: