From d3e9f6b06d1b75b65f7a8cc03fb3fde8aa81728d Mon Sep 17 00:00:00 2001 From: Jerry Cen Date: Mon, 15 Jun 2015 14:57:28 -0700 Subject: [PATCH] Fixed the function name of out filter Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/api/rtconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/services/protocols/bgp/api/rtconf.py b/ryu/services/protocols/bgp/api/rtconf.py index 8f8ffa28..cfadcd44 100644 --- a/ryu/services/protocols/bgp/api/rtconf.py +++ b/ryu/services/protocols/bgp/api/rtconf.py @@ -152,8 +152,8 @@ def get_neighbor_out_filter(neigh_ip_address): @RegisterWithArgChecks(name='neighbor.out_filter.set', req_args=[neighbors.IP_ADDRESS, neighbors.OUT_FILTER]) -def set_neighbor_in_filter(neigh_ip_address, filters): - """Returns a neighbor in_filter for given ip address if exists.""" +def set_neighbor_out_filter(neigh_ip_address, filters): + """Sets the out_filter of a neighbor.""" core = CORE_MANAGER.get_core_service() peer = core.peer_manager.get_by_addr(neigh_ip_address) peer.out_filters = filters