Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Import of Frederic's files and set up a very basic test (juste parsing the files).
[simgrid.git] / teshsuite / simdag / platforms / three_hosts_non_symmetric_route.xml
diff --git a/teshsuite/simdag/platforms/three_hosts_non_symmetric_route.xml b/teshsuite/simdag/platforms/three_hosts_non_symmetric_route.xml
new file mode 100644 (file)
index 0000000..22cff32
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <host id="bob" power="1000000000"/>
+  <host id="alice" power="500000000"/>
+  <host id="trudy" power="250000000"/>
+
+  <link id="link1" bandwidth="125000000" latency="5E-5"/>
+  <link id="link2" bandwidth="125000000" latency="5E-5"/>
+  <link id="link3" bandwidth="125000000" latency="5E-5"/>
+
+  <route src="bob" dst="alice">
+    <link:ctn id="link1"/>
+  </route>
+  <route src="alice" dst="bob">
+    <link:ctn id="link2"/>
+    <link:ctn id="link3"/>
+  </route>
+
+  <route src="bob" dst="trudy">
+    <link:ctn id="link2"/>
+  </route>
+
+  <route src="trudy" dst="bob">
+    <link:ctn id="link2"/>
+  </route>
+
+  <route src="trudy" dst="alice">
+    <link:ctn id="link3"/>
+  </route>
+  <route src="alice" dst="trudy">
+    <link:ctn id="link3"/>
+  </route>
+</platform>