Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a platform file using the new disk tag
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 2 Sep 2019 14:37:08 +0000 (16:37 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 2 Sep 2019 14:49:18 +0000 (16:49 +0200)
MANIFEST.in
examples/platforms/hosts_with_disks.xml [new file with mode: 0644]
tools/cmake/DefinePackages.cmake

index 710ec7f..15fb619 100644 (file)
@@ -1832,6 +1832,7 @@ include examples/platforms/energy_platform.xml
 include examples/platforms/faulty_host.xml
 include examples/platforms/g5k.xml
 include examples/platforms/griffon.xml
+include examples/platforms/hosts_with_disks.xml
 include examples/platforms/meta_cluster.xml
 include examples/platforms/multicore_machine.xml
 include examples/platforms/onelink.xml
diff --git a/examples/platforms/hosts_with_disks.xml b/examples/platforms/hosts_with_disks.xml
new file mode 100644 (file)
index 0000000..d46273a
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
+<platform version="4.1">
+  <zone id="AS0" routing="Full">
+    <host id="bob" speed="1Gf">
+      <disk id="Disk1" read_bw="100MBps" wite_bw="30MBps">
+        <prop id="size" value="500GiB"/>
+      </disk>
+    </host>
+
+    <host id="alice" speed="1Gf">
+      <mount id="Disk2" read_bw="200MBps" write_bw="60MBps"/>
+    </host>
+
+    <link id="link1" bandwidth="125MBps" latency="150us" />
+
+    <route src="bob" dst="alice">
+      <link_ctn id="link1" />
+    </route>
+  </zone>
+</platform>
index 13d50a0..c864b35 100644 (file)
@@ -1135,6 +1135,7 @@ set(PLATFORMS_EXAMPLES
   examples/platforms/faulty_host.xml
   examples/platforms/g5k.xml
   examples/platforms/griffon.xml
+  examples/platforms/hosts_with_disks.xml
   examples/platforms/meta_cluster.xml
   examples/platforms/multicore_machine.xml
   examples/platforms/onelink.xml