3 <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
4 <platform version="4.1">
5 <zone id="world" routing="Full">
7 <zone id="WIFI zone" routing="Cluster">
8 <!-- First declare the Access Point (ie, the wifi media) -->
9 <link id="AP1" sharing_policy="WIFI" bandwidth="54Mbps" latency="0ms" />
11 <!-- Two stations in the wifi zone -->
12 <host id="Station 1" speed="100.0Mf,50.0Mf,20.0Mf" />
13 <host id="Station 2" speed="100.0Mf,50.0Mf,20.0Mf" />
15 <!-- Specify that stations use the WIFI link for every communication (incoming or outgoing) -->
16 <host_link id="Station 1" up="AP1" down="AP1"/>
17 <host_link id="Station 2" up="AP1" down="AP1"/>
19 <router id="WIFI router"/>
24 <zone id="Wired zone" routing="Full">
25 <host id="NODE1" speed="100.0Mf,50.0Mf,20.0Mf" />
30 <link id="Collector" sharing_policy="SHARED" bandwidth="100Mbps" latency="0ms" />
31 <zoneRoute src="WIFI zone" dst="Wired zone" gw_src="WIFI router" gw_dst="NODE1">
32 <link_ctn id="Collector" />