implementing get_onelink_routes for rulebased
details:
- for now, we expect that rulebased routing is a cluster-based routing
- so, the get_one_link algorithm works like this:
1 find the router (might have problems if suffix or prefix has the "router" string)
2 find the routes from the router to all hosts of the cluster
each route have 3 links on current implementation
- tracing will consider that a cluster is a router directly connected to all hosts,
so we actually don't trace exactly what is a cluster in terms of network topology
during the simulation
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8408
48e7efb5-ca39-0410-a469-
dd3cf9ba447f