Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
give some hints about platforms that can be used in NS3
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 23 May 2017 15:44:46 +0000 (17:44 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 23 May 2017 15:44:46 +0000 (17:44 +0200)
examples/platforms/dogbone.xml
examples/platforms/small_platform_one_link_routes.xml

index 6587933..0b6086f 100644 (file)
@@ -1,5 +1,25 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/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 NS3 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
+  --
+  -- http://simgrid.gforge.inria.fr/simgrid/latest/doc/pls_ns3.html
+  -->
+
 <platform version="4.1">
   <zone  id="AS0"  routing="Full">
     <host id="S1" speed="1Gf"/>
index faaad67..3902e78 100644 (file)
@@ -1,5 +1,9 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
+
+<!-- All routes of this platform are of length 1, so you can use it with the NS3 model
+     http://simgrid.gforge.inria.fr/simgrid/latest/doc/pls_ns3.html -->
+
 <platform version="4.1">
   <zone  id="AS0"  routing="Full">
     <host id="Tremblay" speed="98.095Mf"/>