diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-02-28 14:51:24 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-02-29 15:41:37 -0800 |
commit | 53c5bc0258cede44d3544270309b6dd2e83cf058 (patch) | |
tree | 2e6c9bcc1e75f53cd219d3b18259b3dc634b2eef /test/scenario_test | |
parent | 7dd4813776f4ef12b2b76d42e519d7193956fe3a (diff) |
server: support active connection with md5 protection
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test')
-rw-r--r-- | test/scenario_test/bgp_router_test.py | 4 | ||||
-rw-r--r-- | test/scenario_test/evpn_test.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py index b03d0ed2..3bac02ff 100644 --- a/test/scenario_test/bgp_router_test.py +++ b/test/scenario_test/bgp_router_test.py @@ -53,8 +53,8 @@ class GoBGPTestBase(unittest.TestCase): time.sleep(initial_wait_time) for q in qs: - g1.add_peer(q, reload_config=False) - q.add_peer(g1) + g1.add_peer(q, reload_config=False, passwd='passwd') + q.add_peer(g1, passwd='passwd', passive=True) g1.create_config() g1.reload_config() diff --git a/test/scenario_test/evpn_test.py b/test/scenario_test/evpn_test.py index b718bd3d..7920bf2b 100644 --- a/test/scenario_test/evpn_test.py +++ b/test/scenario_test/evpn_test.py @@ -58,8 +58,8 @@ class GoBGPTestBase(unittest.TestCase): time.sleep(initial_wait_time) for a, b in combinations(ctns, 2): - a.add_peer(b, evpn=True) - b.add_peer(a, evpn=True) + a.add_peer(b, evpn=True, passwd='evpn') + b.add_peer(a, evpn=True, passwd='evpn') cls.g1 = g1 cls.g2 = g2 |