summaryrefslogtreecommitdiffhomepage
path: root/test/lib/quagga.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-02-28 14:51:24 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-29 15:41:37 -0800
commit53c5bc0258cede44d3544270309b6dd2e83cf058 (patch)
tree2e6c9bcc1e75f53cd219d3b18259b3dc634b2eef /test/lib/quagga.py
parent7dd4813776f4ef12b2b76d42e519d7193956fe3a (diff)
server: support active connection with md5 protection
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/lib/quagga.py')
-rw-r--r--test/lib/quagga.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/quagga.py b/test/lib/quagga.py
index 81c8f666..e76c7a8b 100644
--- a/test/lib/quagga.py
+++ b/test/lib/quagga.py
@@ -197,6 +197,8 @@ class QuaggaBGPContainer(BGPContainer):
direction)
if info['passwd']:
c << 'neighbor {0} password {1}'.format(n_addr, info['passwd'])
+ if info['passive']:
+ c << 'neighbor {0} passive'.format(n_addr)
if version == 6:
c << 'address-family ipv6 unicast'
c << 'neighbor {0} activate'.format(n_addr)