Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[Doc] Added description for the boost context factory
[simgrid.git] / examples / platforms / prop.xml
index 43feb4b..33a34e1 100644 (file)
@@ -1,19 +1,55 @@
 <?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "surfxml.dtd">
-<platform version="2">
-  <host id="C1-01" power="1000000000">
-    <prop id="Hdd" value="180"/>
-    <prop id="mem" value="4"/>
-  </host>
-  <host id="C1-00" power="1000000000">
-    <prop id="Hdd" value="120"/>
-  </host>
-  <link id="6" bandwidth="125000000" latency="0.000100">
-    <prop id="type" value="Ethernet"/>
-  </link>
-  <link id="0" bandwidth="125000000" latency="0.000100">
-    <prop id="type" value="ethernet"/>
-  </link>
-  <route src="C1-00" dst="C1-01"><link:ctn id="6"/><link:ctn id="0"/></route>
-  <route src="C1-01" dst="C1-00"><link:ctn id="0"/><link:ctn id="6"/></route>
-</platform>
+ <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+ <!-- This file describe a super simple platform which main interest is
+      to define some properties on hosts, processes and links. 
+      It is used in several regression cases on properties -->
+ <platform version="3">
+ <AS  id="AS0"  routing="Full">
+   <prop id="filename" value="prop.xml"/>
+   <prop id="date" value="31-08-12"/>
+   <prop id="author" value="pnavarro"/>
+   
+   <AS  id="AS3"  routing="Full">
+          <AS id="AS1" routing="None">
+              <prop id="name" value="AS1"/>
+          </AS>
+          
+          <AS id="AS2" routing="None">
+              <prop id="name" value="AS2"/>
+          </AS>
+   </AS>
+
+   <cluster id="acme"
+            prefix="node-"    suffix=".acme.org"
+            radical="0-4"     power="1Gf" 
+            bw="125MBps"      lat="50us"
+            bb_bw="2.25GBps"  bb_lat="500us">
+           
+      <prop id="bla" value="acme cluster"/>
+      <prop id="Hdd"  value="180"/>
+      <prop id="mem"  value="42"/>
+   </cluster>
+
+   <AS  id="AS4"  routing="Full">
+          <host id="host1" power="1Gf">
+            <prop id="Hdd" value="180"/>
+            <prop id="mem" value="4"/>
+          </host>
+          
+          <host id="host2" power="1Gf">
+            <prop id="Hdd" value="120"/>
+          </host>
+          
+          <link id="l1" bandwidth="125MBps" latency="100us">
+            <prop id="type" value="Ethernet"/>
+          </link>
+          
+          <link id="l2" bandwidth="125MBps" latency="100us">
+            <prop id="type" value="ethernet"/>
+          </link>
+          <route src="host1" dst="host2"><link_ctn id="l1"/><link_ctn id="l2"/></route>
+   </AS>
+ </AS>
+ </platform>