Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
codacy
[simgrid.git] / examples / platforms / bypassASroute.xml
index dacf416..ea93cd3 100644 (file)
@@ -1,29 +1,32 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-<AS  id="AS0" routing="Full">
-  <cluster id="my_cluster_1" prefix="" suffix="" radical="1" speed="1Gf" bw="125MBps" lat="50us"/>
-  <cluster id="my_cluster_2" prefix="" suffix="" radical="2" speed="1Gf" bw="125MBps" lat="50us"/>
-  <cluster id="my_cluster_3" prefix="" suffix="" radical="3" speed="1Gf" bw="125MBps" lat="50us"/>
+<platform version="4.1">
+  <zone id="AS0" routing="Full">
+    <cluster id="my_cluster_1" prefix="" suffix="" radical="1" speed="1Gf" bw="125MBps" lat="50us"/>
+    <cluster id="my_cluster_2" prefix="" suffix="" radical="2" speed="1Gf" bw="125MBps" lat="50us"/>
+    <cluster id="my_cluster_3" prefix="" suffix="" radical="3" speed="1Gf" bw="125MBps" lat="50us"/>
 
-  <link id="link1" bandwidth="1.25GBps" latency="500us"/>
-  <link id="link2" bandwidth="1.25GBps" latency="500us"/>
-  <link id="link3" bandwidth="1.25GBps" latency="500us"/>
+    <link id="link1" bandwidth="1.25GBps" latency="500us"/>
+    <link id="link2" bandwidth="1.25GBps" latency="500us"/>
+    <link id="link3" bandwidth="1.25GBps" latency="500us"/>
 
-  <link id="link_tmp"  bandwidth="1.25GBps" latency="500us"/>
+    <link id="link_tmp"  bandwidth="1.25GBps" latency="500us"/>
 
-  <ASroute src="my_cluster_1" dst="my_cluster_2" gw_src="my_cluster_1_router" gw_dst="my_cluster_2_router">
-    <link_ctn id="link1"/><link_ctn id="link2"/>
-  </ASroute>
-  <ASroute src="my_cluster_1" dst="my_cluster_3" gw_src="my_cluster_1_router" gw_dst="my_cluster_3_router">
-    <link_ctn id="link1"/><link_ctn id="link3"/>
-  </ASroute>
-  <ASroute src="my_cluster_2" dst="my_cluster_3" gw_src="my_cluster_2_router" gw_dst="my_cluster_3_router">
-    <link_ctn id="link2"/><link_ctn id="link3"/>
-  </ASroute>
+    <zoneRoute src="my_cluster_1" dst="my_cluster_2" gw_src="my_cluster_1_router" gw_dst="my_cluster_2_router">
+      <link_ctn id="link1"/>
+      <link_ctn id="link2"/>
+    </zoneRoute>
+    <zoneRoute src="my_cluster_1" dst="my_cluster_3" gw_src="my_cluster_1_router" gw_dst="my_cluster_3_router">
+      <link_ctn id="link1"/>
+      <link_ctn id="link3"/>
+    </zoneRoute>
+    <zoneRoute src="my_cluster_2" dst="my_cluster_3" gw_src="my_cluster_2_router" gw_dst="my_cluster_3_router">
+      <link_ctn id="link2"/>
+      <link_ctn id="link3"/>
+    </zoneRoute>
 
-  <bypassASroute src="my_cluster_1" dst="my_cluster_2" gw_src="my_cluster_1_router" gw_dst="my_cluster_2_router">
-    <link_ctn id="link_tmp"/>
-  </bypassASroute>
-</AS>
+    <bypassASroute src="my_cluster_1" dst="my_cluster_2" gw_src="my_cluster_1_router" gw_dst="my_cluster_2_router">
+      <link_ctn id="link_tmp"/>
+    </bypassASroute>
+  </zone>
 </platform>