Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / examples / platforms / wifi_energy.xml
index 3da00ae..056c8bc 100644 (file)
@@ -1,20 +1,17 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4.1">
-  <zone id="world" routing="Full">
-    <zone id="WIFI zone" routing="Cluster">
-    
-        <link id="AP1" sharing_policy="WIFI" bandwidth="54Mbps" latency="0ms">
-          <prop id="wifi_watt_values" value="0:1:1:0"/>
-         <prop id="control_duration" value="0"/>
-        </link>
-        <host id="Station 1" speed="100.0Mf,50.0Mf,20.0Mf" />
-          <host_link id="Station 1" up="AP1" down="AP1"/>
-       <host id="Station 2" speed="100.0Mf,50.0Mf,20.0Mf" />
-          <host_link id="Station 2" up="AP1" down="AP1"/>
-       <router id="router"/>
+<?xml version = '1.0'?>
+<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
+<platform version = "4.1">
+  <zone id="WIFI zone" routing = "Wifi">
+    <prop id = "access_point" value = "router" />
 
-    </zone>
+    <host id = "Station 1" speed = "100.0Mf,50.0Mf,20.0Mf" />
+    <host id = "Station 2" speed = "100.0Mf,50.0Mf,20.0Mf" />
+
+    <router id = "router"/>
+
+    <link id = "AP1" sharing_policy = "WIFI" bandwidth = "54Mbps" latency="0ms">
+      <prop id = "wifi_watt_values" value = "0:1:1:0"/>
+      <prop id = "control_duration" value = "0"/>
+    </link>
   </zone>
-</platform>    
-    
+</platform>