Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanups in XML so that sonarqube manages to parse them
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 28 May 2016 21:53:44 +0000 (23:53 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 28 May 2016 21:56:28 +0000 (23:56 +0200)
- without them, the travis logs were full of sonarqube backtraces

examples/msg/energy-onoff/platform_onoff.xml
examples/platforms/onelink.xml
examples/platforms/routing_cluster.xml
examples/platforms/small_platform_with_failures.xml

index 140398d..03549c1 100644 (file)
     If you want a realistic simulation, you have to actually benchmark your platform and application, and use the 
     values that are right for you. -->
 
-  <host id="MyHost1" speed="100.0Mf,50.0Mf,20.0Mf,                         0.006666667f,0.1429f" pstate="0" >
-        <prop id="watt_per_state"value="95.0:200.0,93.0:170.0,90.0:150.0,       120:120,110:110" />
-        <prop id="watt_off" value="10" />
+  <host id="MyHost1" speed="100.0Mf,50.0Mf,20.0Mf,                               0.006666667f,0.1429f" pstate="0" >
+        <prop id="watt_per_state" value="95.0:200.0,93.0:170.0,90.0:150.0,       120:120,110:110" />
+        <prop id="watt_off"       value="10" />
   </host>
   <host id="MyHost2" speed="100.0Mf" >
         <prop id="watt_per_state" value="100.0:200.0" />
-        <prop id="watt_off" value="10" />
+        <prop id="watt_off"       value="10" />
   </host>
 
   <link id="link1" bandwidth="100kBps" latency="0"/>
index 36aa542..9182406 100644 (file)
@@ -2,8 +2,8 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
 <AS  id="AS0"  routing="Full">
-  <!---   S1 -- link 1 -- C1
-              (10kB, 10ms)      -->
+  <!---   S1 <-> link 1 <-> C1  -->
+  <!---        (10kB, 10ms)     -->
 
    <host id="S1" speed="1Gf"/>
    <host id="C1" speed="1Gf"/>
index adc51cf..ba8ed8a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-<!--              router1 -------------link1-2--------------router2
+<!--              router1 - - - - - - link1-2 - - - - - - router2
        __________________________                   _________________________
        |                        |                   |                        |
        |        backbone1       |                   |      backbone2         |
index 7840074..6664ab5 100644 (file)
@@ -3,10 +3,10 @@
 <platform version="4">
   <AS  id="AS0"  routing="Full">
     <host id="Tremblay" speed="25Mf"/>
-    <host id="Jupiter" speed="25Mf" state_file="trace/jupiter_state.trace"/>
-    <host id="Fafard" speed="25Mf" state_file="trace/fafard_state.trace" />
-    <host id="Ginette" speed="25Mf" state_file="trace/ginette_state.trace"/>
-    <host id="Bourassa" speed="25Mf"state_file="trace/bourassa_state.trace"/>
+    <host id="Jupiter"  speed="25Mf" state_file="trace/jupiter_state.trace"/>
+    <host id="Fafard"   speed="25Mf" state_file="trace/fafard_state.trace" />
+    <host id="Ginette"  speed="25Mf" state_file="trace/ginette_state.trace"/>
+    <host id="Bourassa" speed="25Mf" state_file="trace/bourassa_state.trace"/>
 
     <link id="1" bandwidth="1MBps" latency="0"/>
     <link id="2" bandwidth="1MBps" latency="0"/>