From 23252d9ad86c46024b512b63315ea818c7dc47ef Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sun, 24 Apr 2016 09:42:06 +0000 Subject: test: add BGPContainer.define_policy() and BGPContainer.assign_policy() Signed-off-by: ISHIDA Wataru --- test/scenario_test/bgp_router_test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/scenario_test/bgp_router_test.py') 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') -- cgit v1.2.3