2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
4 <!-- Describe a dogbone graph, with 4 hosts:
6 -- S1 ---[ 1 ]--- ---[ 3 ]--- C1
10 -- S2 ---[ 4 ]--- ---[ 5 ]--- C2
13 -- This platform is a valid NS3 platform, even if it exhibits routes of length >1,
14 -- because when you only keep the routes of length 1,
15 -- you get a graph where every host can speak to any other host.
17 -- For example, S1--C1 is (l1,l2,l3) of length >1
18 -- But it's also S1--C1 = S1--R1, R1--R2, R2--C1 which are all of length 1
20 -- http://simgrid.gforge.inria.fr/simgrid/latest/doc/pls_ns3.html
23 <platform version="4.1">
24 <zone id="AS0" routing="Full">
25 <host id="S1" speed="1Gf"/>
26 <host id="C1" speed="1Gf"/>
27 <host id="S2" speed="1Gf"/>
28 <host id="C2" speed="1Gf"/>
32 <link id="1" bandwidth="100MBps" latency="10ms"/>
33 <link id="2" bandwidth="100MBps" latency="10ms"/>
34 <link id="3" bandwidth="100MBps" latency="10ms"/>
35 <link id="4" bandwidth="100MBps" latency="10ms"/>
36 <link id="5" bandwidth="100MBps" latency="10ms"/>
38 <route src="S1" dst="C1">
43 <route src="S2" dst="C2">
48 <route src="S1" dst="C2">
53 <route src="S2" dst="C1">
58 <route src="S1" dst="R1">
61 <route src="R1" dst="R2">
64 <route src="R2" dst="C1">
67 <route src="S2" dst="R1">
70 <route src="R2" dst="C2">