Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Start to replace old simdag tests of the ptask_L07 model
[simgrid.git] / examples / platforms / ptask_L07.xml
diff --git a/examples/platforms/ptask_L07.xml b/examples/platforms/ptask_L07.xml
new file mode 100644 (file)
index 0000000..93e6999
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
+<platform version="4.1">
+  <zone  id="AS0"  routing="Full">
+    <host id="cpu0" speed="1f" />
+    <host id="cpu1" speed="1f" />
+       <host id="cpu2" speed="2f" />
+
+    <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED" />
+    <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED" />
+    <link id="link2" bandwidth="1Bps" latency="500ms" sharing_policy="FATPIPE" />
+
+    <route src="cpu0" dst="cpu1">
+      <link_ctn id="link0" />
+    </route>
+    <route src="cpu0" dst="cpu2">
+      <link_ctn id="link2" />
+    </route>
+    <route src="cpu1" dst="cpu2">
+      <link_ctn id="link0" />
+      <link_ctn id="switch" />
+      <link_ctn id="link1" />
+    </route>
+  </zone>
+</platform>