Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[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     <!-- NODE1 AS -->
21     <zone id="Wired zone" routing="Full">
22       <host id="node1" speed="100.0Mf,50.0Mf,20.0Mf" />
23     </zone>
24
25
26     <!-- AS Routing -->
27     <link id="Collector" sharing_policy="SHARED" bandwidth="100Mbps" latency="0ms" />
28     <zoneRoute src="WIFI zone" dst="Wired zone" gw_src="WIFI router" gw_dst="node1">
29       <link_ctn id="Collector" />
30     </zoneRoute>
31
32   </zone>
33 </platform>