Also attached as gzip in case the inline does not work well.

Signed-off-by: Jerry Cen <[email protected]>
From: Jerry Cen <[email protected]>
Date: Mon, 15 Jun 2015 14:57:28 -0700
Subject: [PATCH] Fixed the function name of out filter

---
 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 8f8ffa2..cfadcd4 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
-- 
2.2.0.rc0.207.ga3a616c

Attachment: 0001-Fixed-the-function-name-of-out-filter.patch.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to