File: routing_cluster.xml

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (59 lines) | stat: -rw-r--r-- 2,485 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version='1.0'?>
<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
<platform version="4.1">
<!--              router1 - - - - - - link1-2 - - - - - - router2
       __________________________                   _________________________
       |                        |                   |                        |
       |        backbone1       |                   |      backbone2         |
       |________________________|                   |________________________|
       / /         |          \ \                   / /         |          \ \
l1_up / / l1_down  | l3   l2_up\ \ l2_down   l4_up / / l4_down  | l6   l5_up\ \ l5_down
     / /           |            \ \               / /           |            \ \
    host1         host3         host2           host4         host6          host5
-->
  <zone id="AS0" routing="Full">
    <zone  id="my_cluster1"  routing="Cluster">
      <router id="router1"/>

      <host id="host1" speed="1Gf"/>
      <link id="l1_UP" bandwidth="125MBps" latency="100us"/>
      <link id="l1_DOWN" bandwidth="125MBps" latency="100us"/>
      <host_link id="host1" up="l1_UP" down="l1_DOWN"/>

      <host id="host2" speed="1Gf"/>
      <link id="l2" bandwidth="125MBps" latency="100us" sharing_policy="SPLITDUPLEX"/>
      <host_link id="host2" up="l2_UP" down="l2_DOWN"/>

      <host id="host3" speed="1Gf"/>
      <link id="l3" bandwidth="125MBps" latency="100us"/>
      <host_link id="host3" up="l3" down="l3"/>

      <backbone id="backbone1" bandwidth="2.25GBps" latency="500us"/>
    </zone>

    <zone  id="my_cluster2"  routing="Cluster">
      <router id="router2"/>

      <host id="host4" speed="1Gf"/>
      <link id="l4_UP" bandwidth="125MBps" latency="100us"/>
      <link id="l4_DOWN" bandwidth="125MBps" latency="100us"/>
      <host_link id="host4" up="l4_UP" down="l4_DOWN"/>

      <host id="host5" speed="1Gf"/>
      <link id="l5" bandwidth="125MBps" latency="100us" sharing_policy="SPLITDUPLEX"/>
      <host_link id="host5" up="l5_UP" down="l5_DOWN"/>

      <host id="host6" speed="1Gf"/>
      <link id="l6" bandwidth="125MBps" latency="100us"/>
      <host_link id="host6" up="l6" down="l6"/>

      <backbone id="backbone2" bandwidth="2.25GBps" latency="500us"/>
    </zone>

    <link id="link1-2" bandwidth="2.25GBps" latency="500us"/>

    <zoneRoute src="my_cluster1" dst="my_cluster2" gw_src="router1" gw_dst="router2">
      <link_ctn id="link1-2" />
    </zoneRoute>
  </zone>
</platform>