summaryrefslogtreecommitdiffhomepage
path: root/test/lib/gobgp.py
diff options
context:
space:
mode:
authorWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-10-04 05:12:09 +0000
committerWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-10-04 05:46:26 +0000
commitebd7306fd6d996cdc95cf3f73cc728477f63d780 (patch)
treeb85ebe54f98bef2380d4ff81453c74e1ec01dea3 /test/lib/gobgp.py
parent7c8b1973e724f36ca17dd35826d0a62989635200 (diff)
test: add test for vrf route injecting
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r--test/lib/gobgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py
index 77cd765e..b8e669dd 100644
--- a/test/lib/gobgp.py
+++ b/test/lib/gobgp.py
@@ -248,7 +248,7 @@ class GoBGPContainer(BGPContainer):
},
}}
- if self.zebra:
+ if self.zebra and self.zapi_version == 2:
config['global']['use-multiple-paths'] = {'config': {'enabled': True}}
for peer, info in self.peers.iteritems():