Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
callback mechanism
[simgrid.git] / examples / platforms / wifi_large_cell.xml
diff --git a/examples/platforms/wifi_large_cell.xml b/examples/platforms/wifi_large_cell.xml
new file mode 100755 (executable)
index 0000000..bd53e78
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version='1.0'?>
+
+<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
+<platform version="4.1">
+  <zone id="world" routing="Full">
+
+    <zone id="WIFI zone" routing="Wifi">
+        <prop id="access_point" value="WIFI router" />
+
+        <!-- Declare the stations of this wifi zone -->
+        <host id="Station 1" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 2" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 3" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 4" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 5" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 6" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 7" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 8" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 9" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 10" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 11" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 12" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 13" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 14" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 15" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 16" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 17" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 18" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 19" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 20" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 21" speed="100.0Mf,50.0Mf,20.0Mf" />
+        <host id="Station 22" speed="100.0Mf,50.0Mf,20.0Mf" />
+
+        <!-- Declare the wifi media (after hosts because our parser is sometimes annoying) -->
+        <link id="AP1" sharing_policy="WIFI" bandwidth="54Mbps,36Mbps,24Mbps" latency="0ms" />
+
+        <router id="WIFI router"/>
+    </zone>
+
+    <!-- NODE1 AS -->
+    <zone id="Wired zone" routing="Full">
+      <host id="node1" speed="100.0Mf,50.0Mf,20.0Mf" />
+    </zone>
+
+
+    <!-- AS Routing -->
+    <link id="Collector" sharing_policy="SHARED" bandwidth="100Mbps" latency="0ms" />
+    <zoneRoute src="WIFI zone" dst="Wired zone" gw_src="WIFI router" gw_dst="node1">
+      <link_ctn id="Collector" />
+    </zoneRoute>
+
+  </zone>
+</platform>