File: wifi.xml

package info (click to toggle)
simgrid 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,192 kB
  • sloc: cpp: 124,913; ansic: 66,744; python: 8,560; java: 6,773; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,194; perl: 1,436; makefile: 111; lisp: 49; javascript: 7; sed: 6
file content (33 lines) | stat: -rwxr-xr-x 1,065 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?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" />

        <!-- 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>