@RegisterWithArgChecks(name='neighbor.out_filter.set', req_args=[neighbors.IP_ADDRESS, neighbors.OUT_FILTER])
def set_neighbor_out_filter(neigh_ip_address, filters):
 core = CORE_MANAGER.get_core_service()
 peer = core.peer_manager.get_by_addr(neigh_ip_address)
 peer.out_filters = filters
 return True

@ RegisterWithArgChecks ( name = 'neighbor.out_filter.set' , req_args = [ neighbors . IP_ADDRESS , neighbors . OUT_FILTER ] ) def set_neighbor_out_filter ( neigh_ip_address , filters ) : core = CORE_MANAGER . get_core_service ( ) peer = core . peer_manager . get_by_addr ( neigh_ip_address ) peer . out_filters = filters return True
sets the out_filter of a neighbor .