mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-12 08:06:49 +02:00
Fixed the function name of out filter
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
9251504f15
commit
d3e9f6b06d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user