neighbour_list


Description:

public List<AggregatedNeighbour> neighbour_list (bool? in_my_network = null, NetworkID? with_this_netid = null)

Returns the list of neighbours.
If with_this_netid is not None, then returns only nodes
| that are in the network with this netid.
Else, if in_my_network is not None, then returns only nodes
| that are in my network (compared with all the GID of last level).
Else all the neighbours are returned.

Parameters:

in_my_network return only nodes in my network.
with_this_netid return nodes in that netid, or entire network if null.