@RegisterWithArgChecks(name='neighbor.get', req_args=[neighbors.IP_ADDRESS])
def get_neighbor_conf(neigh_ip_address):
 neigh_conf = _get_neighbor_conf(neigh_ip_address)
 return neigh_conf.settings

@ RegisterWithArgChecks ( name = 'neighbor.get' , req_args = [ neighbors . IP_ADDRESS ] ) def get_neighbor_conf ( neigh_ip_address ) : neigh_conf = _get_neighbor_conf ( neigh_ip_address ) return neigh_conf . settings
returns a neighbor configuration for given ip address if exists .