Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't test features that are impossible to get right
[simgrid.git] / examples / platforms / routing_cluster.xml
index a5e242e..872b303 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
+<platform version="4.1">
 <!--              router1 - - - - - - link1-2 - - - - - - router2
        __________________________                   _________________________
        |                        |                   |                        |
@@ -11,8 +11,8 @@ l1_up / / l1_down  | l3   l2_up\ \ l2_down   l4_up / / l4_down  | l6   l5_up\ \
      / /           |            \ \               / /           |            \ \
     host1         host3         host2           host4         host6          host5
 -->
-  <AS id="AS0" routing="Full">
-    <AS  id="my_cluster1"  routing="Cluster">
+  <zone id="AS0" routing="Full">
+    <zone  id="my_cluster1"  routing="Cluster">
       <router id="router1"/>
 
       <host id="host1" speed="1Gf"/>
@@ -29,9 +29,9 @@ l1_up / / l1_down  | l3   l2_up\ \ l2_down   l4_up / / l4_down  | l6   l5_up\ \
       <host_link id="host3" up="l3" down="l3"/>
 
       <backbone id="backbone1" bandwidth="2.25GBps" latency="500us"/>
-    </AS>
+    </zone>
 
-    <AS  id="my_cluster2"  routing="Cluster">
+    <zone  id="my_cluster2"  routing="Cluster">
       <router id="router2"/>
 
       <host id="host4" speed="1Gf"/>
@@ -48,12 +48,12 @@ l1_up / / l1_down  | l3   l2_up\ \ l2_down   l4_up / / l4_down  | l6   l5_up\ \
       <host_link id="host6" up="l6" down="l6"/>
 
       <backbone id="backbone2" bandwidth="2.25GBps" latency="500us"/>
-    </AS>
+    </zone>
 
     <link id="link1-2" bandwidth="2.25GBps" latency="500us"/>
 
-    <ASroute src="my_cluster1" dst="my_cluster2" gw_src="router1" gw_dst="router2">
+    <zoneRoute src="my_cluster1" dst="my_cluster2" gw_src="router1" gw_dst="router2">
       <link_ctn id="link1-2" />
-    </ASroute>
-  </AS>
+    </zoneRoute>
+  </zone>
 </platform>