Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert deprecated/msg/trace-host-user-variables to s4u/trace-host-user-variables.
[simgrid.git] / examples / platforms / wifi.xml
1 <?xml version='1.0'?>
2
3 <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
4 <platform version="4.1">
5   <zone id="world" routing="Full">
6
7     <zone id="WIFI zone" routing="Wifi">
8         <prop id="access_point" value="WIFI router" />
9         
10         <!-- Declare the stations of this wifi zone -->
11         <host id="Station 1" speed="100.0Mf,50.0Mf,20.0Mf" />
12         <host id="Station 2" speed="100.0Mf,50.0Mf,20.0Mf" />
13
14         <!-- Declare the wifi media (after hosts because our parser is sometimes annoying) -->
15         <link id="AP1" sharing_policy="WIFI" bandwidth="54Mbps,36Mbps,24Mbps" latency="0ms" />
16         
17         <router id="WIFI router"/>
18     </zone>
19
20
21     <!-- NODE1 AS -->
22     <zone id="Wired zone" routing="Full">
23       <host id="node1" speed="100.0Mf,50.0Mf,20.0Mf" />
24     </zone>
25     
26
27     <!-- AS Routing -->
28     <link id="Collector" sharing_policy="SHARED" bandwidth="100Mbps" latency="0ms" />
29     <zoneRoute src="WIFI zone" dst="Wired zone" gw_src="WIFI router" gw_dst="node1">
30       <link_ctn id="Collector" />
31     </zoneRoute>
32     
33   </zone>
34 </platform>