Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add token_ring example.
[simgrid.git] / examples / msg / token_ring / two_clusters.xml
diff --git a/examples/msg/token_ring/two_clusters.xml b/examples/msg/token_ring/two_clusters.xml
new file mode 100644 (file)
index 0000000..271e660
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version='1.0'?>
+ <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+ <platform version="3">
+       
+ <AS  id="AS0"  routing="Full">
+       
+     <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+           radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+           bb_bw="2250000000" bb_lat="5E-4"/>
+   
+     <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
+           radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+           bb_bw="2250000000" bb_lat="5E-4"/>  
+       
+     <link id="backbone" bandwidth="1250000000" latency="5E-4"/>  
+       
+     <ASroute src="bob_cluster" dst="alice_cluster" 
+        gw_src="bobbob_cluster_router.hamburger.edu" 
+        gw_dst="alicealice_cluster_router.crepe.fr">
+               <link_ctn id="backbone"/>
+     </ASroute>
+        
+     <ASroute src="alice_cluster" dst="bob_cluster" 
+        gw_src="alicealice_cluster_router.crepe.fr" 
+        gw_dst="bobbob_cluster_router.hamburger.edu">
+               <link_ctn id="backbone"/>
+     </ASroute>   
+     
+ </AS>
+ </platform>