summaryrefslogtreecommitdiffhomepage
path: root/test/lib/gobgp.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-06-02 05:45:08 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-06 12:43:20 +0900
commitc54f6e8289dd4f8b3df1d78b37e4cad9c601c7d1 (patch)
tree8b83592bb1918e204446c496e5d12553216d3851 /test/lib/gobgp.py
parent5c7df672664f06a8bcdf411667e1c61000805c8c (diff)
server: support injecting multipath to zebra
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r--test/lib/gobgp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py
index cf72b721..07b2c8b0 100644
--- a/test/lib/gobgp.py
+++ b/test/lib/gobgp.py
@@ -237,6 +237,10 @@ class GoBGPContainer(BGPContainer):
},
},
}}
+
+ if self.zebra:
+ config['global']['use-multiple-paths'] = {'config': {'enabled': True}}
+
for peer, info in self.peers.iteritems():
afi_safi_list = []
version = netaddr.IPNetwork(info['neigh_addr']).version