Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove "--" from XML comments.
[simgrid.git] / examples / platforms / dogbone.xml
index 26a1a99..53d7a6d 100644 (file)
@@ -1,7 +1,26 @@
 <?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-  <AS  id="AS0"  routing="Full">
+<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
+
+<!-- Describe a dogbone graph, with 4 hosts:
+  -
+  -  S1 ___[ 1 ]___                 ___[ 3 ]___ C1
+  -                \               /
+  -                 R1 __[ 2 ]__ R2
+  -                /               \
+  -  S2 ___[ 4 ]__/                 \__[ 5 ]___ C2
+  -
+  -  This platform is a valid ns-3 platform, even if it exhibits routes of length >1,
+  -  because when you only keep the routes of length 1,
+  -  you get a graph where every host can speak to any other host.
+  -
+  -  For example, S1__C1 is (l1,l2,l3) of length >1
+  -  But it's also S1__C1 = S1__R1, R1__R2, R2__C1 which are all of length 1
+  -
+  -  https://simgrid.org/doc/latest/ns3.html
+  -->
+
+<platform version="4.1">
+  <zone  id="AS0"  routing="Full">
     <host id="S1" speed="1Gf"/>
     <host id="C1" speed="1Gf"/>
     <host id="S2" speed="1Gf"/>
@@ -50,5 +69,5 @@
     <route src="R2" dst="C2">
       <link_ctn id="5"/>
     </route>
-  </AS>
+  </zone>
 </platform>