Fixed the function name of out filter

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Jerry Cen 2015-06-15 14:57:28 -07:00 committed by FUJITA Tomonori
parent 9251504f15
commit d3e9f6b06d

View File

@ -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