summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/bgp_router_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario_test/bgp_router_test.py')
-rw-r--r--test/scenario_test/bgp_router_test.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py
index d5059e00..baae3841 100644
--- a/test/scenario_test/bgp_router_test.py
+++ b/test/scenario_test/bgp_router_test.py
@@ -170,15 +170,13 @@ class GoBGPTestBase(unittest.TestCase):
med200 = {'name': 'med200',
'type': 'permit',
'match': '0.0.0.0/0',
- 'direction': 'out',
'med': 200}
- q2.add_policy(med200, self.gobgp)
+ q2.add_policy(med200, self.gobgp, 'out')
med100 = {'name': 'med100',
'type': 'permit',
'match': '0.0.0.0/0',
- 'direction': 'out',
'med': 100}
- q3.add_policy(med100, self.gobgp)
+ q3.add_policy(med100, self.gobgp, 'out')
q5.add_route('10.0.6.0/24')