This repository was archived by the owner on Oct 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathexample.xml
More file actions
54 lines (46 loc) · 2.24 KB
/
example.xml
File metadata and controls
54 lines (46 loc) · 2.24 KB
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
<shadow>
<!-- our network. the xml data here could instead be specified in a separate topology.xml file and given here as:
<topology path="/path/to/topology.xml" />
-->
<topology>
<![CDATA[<?xml version="1.0" encoding="utf-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key attr.name="packetloss" attr.type="double" for="edge" id="d9" />
<key attr.name="jitter" attr.type="double" for="edge" id="d8" />
<key attr.name="latency" attr.type="double" for="edge" id="d7" />
<key attr.name="asn" attr.type="int" for="node" id="d6" />
<key attr.name="type" attr.type="string" for="node" id="d5" />
<key attr.name="bandwidthup" attr.type="int" for="node" id="d4" />
<key attr.name="bandwidthdown" attr.type="int" for="node" id="d3" />
<key attr.name="geocode" attr.type="string" for="node" id="d2" />
<key attr.name="ip" attr.type="string" for="node" id="d1" />
<key attr.name="packetloss" attr.type="double" for="node" id="d0" />
<graph edgedefault="undirected">
<node id="poi-1">
<data key="d0">0.0</data>
<data key="d1">0.0.0.0</data>
<data key="d2">US</data>
<data key="d3">10240</data>
<data key="d4">10240</data>
<data key="d5">net</data>
<data key="d6">0</data>
</node>
<edge source="poi-1" target="poi-1">
<data key="d7">50.0</data>
<data key="d8">0.0</data>
<data key="d9">0.0</data>
</edge>
</graph>
</graphml>]]>
</topology>
<!-- the plug-ins we will be using -->
<plugin id="python2" path="libshadow-plugin-python.so" />
<!-- the length of our experiment in seconds -->
<kill time="60" />
<!-- our nodes and the applications they run -->
<node id="python2server" geocodehint="US">
<application plugin="python2" time="10" arguments="tests/echo.py server 0.0.0.0" />
</node>
<node id="python2client" quantity="1">
<application plugin="python2" time="20" arguments="tests/echo.py client python2server" />
</node>
</shadow>