diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-07 23:17:04 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-11 00:28:34 +0900 |
commit | 6dacfb38bf6e5c32abe39cfdfe825d3702316855 (patch) | |
tree | aff47e475ce978bcd8667ca104933ba97cd3c72b /test/scenario_test/route_server_policy_test.py | |
parent | 84d73c1b45006c40764c1587207b5ad67598e893 (diff) |
scenario_test: use default interface for ipv4-peering
avoid creating many linux bridges via pipework
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/route_server_policy_test.py')
-rw-r--r-- | test/scenario_test/route_server_policy_test.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/scenario_test/route_server_policy_test.py b/test/scenario_test/route_server_policy_test.py index e21b7713..1eb31f62 100644 --- a/test/scenario_test/route_server_policy_test.py +++ b/test/scenario_test/route_server_policy_test.py @@ -82,9 +82,6 @@ class ImportPolicy(object): initial_wait_time = max(ctn.run() for ctn in ctns) time.sleep(initial_wait_time) - br01 = Bridge(name='br01', subnet='192.168.10.0/24') - [br01.addif(ctn) for ctn in ctns] - for q in [e1, q1, q2]: g1.add_peer(q, is_rs_client=True) q.add_peer(g1) @@ -498,8 +495,8 @@ class ImportPolicyIPV6(object): [br01.addif(ctn) for ctn in ctns] for q in [e1, q1, q2]: - g1.add_peer(q, is_rs_client=True) - q.add_peer(g1) + g1.add_peer(q, is_rs_client=True, bridge=br01.name) + q.add_peer(g1, bridge=br01.name) env.g1 = g1 env.e1 = e1 |