2 <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
4 <!-- Describe a dogbone graph, with 4 hosts:
6 - S1 ___[ 1 ]___ ___[ 3 ]___ C1
10 - S2 ___[ 4 ]__/ \__[ 5 ]___ C2
12 - This platform is a valid ns-3 platform, even if it exhibits routes of length >1,
13 - because when you only keep the routes of length 1,
14 - you get a graph where every host can speak to any other host.
16 - For example, S1__C1 is (l1,l2,l3) of length >1
17 - But it's also S1__C1 = S1__R1, R1__R2, R2__C1 which are all of length 1
19 - https://simgrid.org/doc/latest/ns3.html
22 <platform version="4.1">
23 <zone id="AS0" routing="Full">
24 <host id="S1" speed="1Gf"/>
25 <host id="C1" speed="1Gf"/>
26 <host id="S2" speed="1Gf"/>
27 <host id="C2" speed="1Gf"/>
31 <link id="1" bandwidth="100MBps" latency="10ms"/>
32 <link id="2" bandwidth="100MBps" latency="10ms"/>
33 <link id="3" bandwidth="100MBps" latency="10ms"/>
34 <link id="4" bandwidth="100MBps" latency="10ms"/>
35 <link id="5" bandwidth="100MBps" latency="10ms"/>
37 <route src="S1" dst="C1">
42 <route src="S2" dst="C2">
47 <route src="S1" dst="C2">
52 <route src="S2" dst="C1">
57 <route src="S1" dst="R1">
60 <route src="R1" dst="R2">
63 <route src="R2" dst="C1">
66 <route src="S2" dst="R1">
69 <route src="R2" dst="C2">