Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
factor host samples, update flatifier
[simgrid.git] / teshsuite / simdag / platforms / host_attributes.xml
diff --git a/teshsuite/simdag/platforms/host_attributes.xml b/teshsuite/simdag/platforms/host_attributes.xml
new file mode 100644 (file)
index 0000000..b0d28e0
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
+<platform version="4">
+  <AS  id="AS0"  routing="Full">
+    <host id="alice" speed="1Gf"/> <!-- connected to an in-file speed trace --> 
+    <host id="bob" speed="1Gf"/>   <!-- connected to an out-file speed trace -->
+    <host id="carol" speed="500Mf" state_file="carol.fail"/>  <!-- out-file state trace as attribute -->
+    <host id="dave" speed="1Gf">
+      <prop id="memory" value="1000000000"/>
+      <prop id="disk" value="80E9"/>
+      <prop id="OS" value="Linux 2.6.22-14"/>
+    </host>
+    <host id="erin" speed="500Mf" availability_file="erin.avail"/> <!--uses someone else's trace --> 
+  </AS>
+
+  <trace id="myTrace" periodicity="1.0">
+    0.0 1.0
+    11.0 0.5
+    20.0 0.8
+  </trace>
+
+  <trace_connect trace="myTrace" element="alice" kind="SPEED"/>
+
+  <trace id="myTrace" file="bob.trace" periodicity="1.0"/>
+  <trace_connect trace="myTrace" element="bob" kind="SPEED"/>
+</platform>