diff options
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 |