Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Finalize properties on AS.
[simgrid.git] / examples / platforms / prop.xml
index 84cc4a1..b41fe4d 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version='1.0'?>
 <?xml version='1.0'?>
- <!DOCTYPE platform SYSTEM "simgrid.dtd">
+ <!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. 
  
  <!-- This file describe a super simple platform which main interest is
       to define some properties on hosts, processes and links. 
       
       Of course, this restriction is not needed in your own platforms. -->
  
       
       Of course, this restriction is not needed in your own platforms. -->
  
- <platform version="2">
+ <platform version="3">
  <AS  id="AS0"  routing="Full">
  <AS  id="AS0"  routing="Full">
-   <host id="host1" power="1000000000">
-     <prop id="SG_TEST_Hdd" value="180"/>
-     <prop id="SG_TEST_mem" value="4"/>
-   </host>
-   <host id="host2" power="1000000000">
-     <prop id="SG_TEST_Hdd" value="120"/>
-   </host>
-   <link id="l1" bandwidth="125000000" latency="0.000100">
-     <prop id="type" value="Ethernet"/>
-   </link>
-   <link id="l2" bandwidth="125000000" latency="0.000100">
-     <prop id="type" value="ethernet"/>
-   </link>
-   <route src="host1" dst="host2"><link:ctn id="l1"/><link:ctn id="l2"/></route>
-   <route src="host2" dst="host1"><link:ctn id="l2"/><link:ctn id="l1"/></route>
+   <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>
+   
+   <AS  id="AS4"  routing="Full">
+          <host id="host1" power="1000000000">
+            <prop id="SG_TEST_Hdd" value="180"/>
+            <prop id="SG_TEST_mem" value="4"/>
+          </host>
+          
+          <host id="host2" power="1000000000">
+            <prop id="SG_TEST_Hdd" value="120"/>
+          </host>
+          
+          <link id="l1" bandwidth="125000000" latency="0.000100">
+            <prop id="type" value="Ethernet"/>
+          </link>
+          
+          <link id="l2" bandwidth="125000000" latency="0.000100">
+            <prop id="type" value="ethernet"/>
+          </link>
+          <route src="host1" dst="host2"><link_ctn id="l1"/><link_ctn id="l2"/></route>
+   </AS>
  </AS>
  </platform>
  </AS>
  </platform>