Change OMF attributes during runtime
[nepi.git] / examples / POPI / popi-tun-classfilter-2MB-q500-pl.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <experiment>
3     <testbeds>
4         <testbed guid="1" testbed_id="planetlab" testbed_version="0.1">
5             <graphical_info height="580.0" width="872.882843778" x="-317.0" y="-124.0"/>
6             <attributes>
7                 <attribute name="slice" type="STRING" value="##plslice##"/>
8                 <attribute name="plLogLevel" type="STRING" value="INFO"/>
9                 <attribute name="logLevel" type="STRING" value="Debug"/>
10                 <attribute name="cleanProc" type="BOOL" value="True"/>
11                 <attribute name="plcUrl" type="STRING" value="https://%(hostname)s:443/PLCAPI/"/>
12                 <attribute name="recoveryPolicy" type="STRING" value="Recover"/>
13                 <attribute name="p2pDeployment" type="BOOL" value="False"/>
14                 <attribute name="label" type="STRING" value=""/>
15                 <attribute name="tapPortBase" type="INTEGER" value="16000"/>
16                 <attribute name="authUser" type="STRING" value="##pluser##"/>
17                 <attribute name="sliceSSHKey" type="STRING" value="##plkey##"/>
18                 <attribute name="authPass" type="STRING" value="##plpass##"/>
19                 <attribute name="plcHost" type="STRING" value="www.planet-lab.eu"/>
20             </attributes>
21             <elements>
22                 <element factory_id="Node" guid="2">
23                     <graphical_info height="100.0" width="100.0" x="-256.0" y="-223.0"/>
24                     <attributes>
25                         <attribute name="operatingSystem" type="STRING" value="f12"/>
26                     </attributes>
27                     <routes>
28                         <route Destination="192.168.2.32" Metric="0" NetPrefix="27" NextHop="192.168.2.3"/>
29                     </routes>
30                     <connections>
31                         <connection connector="devs" other_connector="node" other_guid="11"/>
32                         <connection connector="devs" other_connector="node" other_guid="21"/>
33                         <connection connector="apps" other_connector="node" other_guid="8"/>
34                     </connections>
35                 </element>
36                 <element factory_id="Node" guid="3">
37                     <graphical_info height="100.0" width="100.0" x="263.0" y="-222.0"/>
38                     <attributes>
39                         <attribute name="forward_X11" type="BOOL" value="False"/>
40                         <attribute name="operatingSystem" type="STRING" value="f12"/>
41                     </attributes>
42                     <routes>
43                         <route Destination="192.168.2.0" Metric="0" NetPrefix="27" NextHop="192.168.2.34"/>
44                     </routes>
45                     <connections>
46                         <connection connector="devs" other_connector="node" other_guid="24"/>
47                         <connection connector="devs" other_connector="node" other_guid="12"/>
48                         <connection connector="apps" other_connector="node" other_guid="10"/>
49                     </connections>
50                 </element>
51                 <element factory_id="Application" guid="8">
52                     <graphical_info height="100.0" width="100.0" x="-365.684303842" y="-223.842151921"/>
53                     <attributes>
54                         <attribute name="buildDepends" type="STRING" value="libpcap-devel make gcc "/>
55                         <attribute name="sudo" type="BOOL" value="True"/>
56                         <attribute name="label" type="STRING" value="popi-cli"/>
57                         <attribute name="sources" type="STRING" value="popi-0.9.tar.gz"/>
58                         <attribute name="depends" type="STRING" value="libpcap"/>
59                         <attribute name="command" type="STRING" value="sleep 2; ./popi -et 136/2004/30002,6/2000/30002,17/2002/30002,1/30002/8 -b 32 -r 2000  -o {#[popi-cli].trace[output].[name]#} -i {#[tap-cli].[if_name]#} {#[tap-srv].addr[0].[Address]#}"/>
60                         <attribute name="build" type="STRING" value="tar xzf ${SOURCES}/popi-0.9.tar.gz &amp;&amp; cd popi-0.9 &amp;&amp; ./configure --enable-debug --with-host=planetlab &amp;&amp; make"/>
61                         <attribute name="install" type="STRING" value="cp ./popi-0.9/popi ${SOURCES}"/>
62                     </attributes>
63                     <traces>
64                         <trace name="output"/>
65                         <trace name="stderr"/>
66                         <trace name="stdout"/>
67                     </traces>
68                     <connections>
69                         <connection connector="node" other_connector="apps" other_guid="2"/>
70                     </connections>
71                 </element>
72                 <element factory_id="Internet" guid="9">
73                     <graphical_info height="100.0" width="100.0" x="8.0" y="211.0"/>
74                     <connections>
75                         <connection connector="devs" other_connector="inet" other_guid="16"/>
76                         <connection connector="devs" other_connector="inet" other_guid="11"/>
77                         <connection connector="devs" other_connector="inet" other_guid="12"/>
78                     </connections>
79                 </element>
80                 <element factory_id="Application" guid="10">
81                     <graphical_info height="100.0" width="100.0" x="374.0" y="-222.0"/>
82                     <attributes>
83                         <attribute name="buildDepends" type="STRING" value="libpcap-devel make gcc "/>
84                         <attribute name="sudo" type="BOOL" value="True"/>
85                         <attribute name="label" type="STRING" value="popi-srv"/>
86                         <attribute name="sources" type="STRING" value="popi-0.9.tar.gz"/>
87                         <attribute name="depends" type="STRING" value="libpcap"/>
88                         <attribute name="command" type="STRING" value="./popid -v -i {#[tap-srv].[if_name]#} -b 136/30002,6/30002,17/30002,1/30002"/>
89                         <attribute name="build" type="STRING" value="tar xzf ${SOURCES}/popi-0.9.tar.gz &amp;&amp; cd popi-0.9 &amp;&amp; ./configure --enable-debug --with-host=planetlab &amp;&amp; make"/>
90                         <attribute name="install" type="STRING" value="cp ./popi-0.9/popid ${SOURCES}"/>
91                     </attributes>
92                     <traces>
93                         <trace name="stderr"/>
94                         <trace name="stdout"/>
95                     </traces>
96                     <connections>
97                         <connection connector="node" other_connector="apps" other_guid="3"/>
98                     </connections>
99                 </element>
100                 <element factory_id="NodeInterface" guid="11">
101                     <graphical_info height="100.0" width="100.0" x="-355.87051993" y="67.7927863957"/>
102                     <factory_attributes>
103                         <factory_attribute name="maxAddresses" type="INTEGER" value="1"/>
104                     </factory_attributes>
105                     <attributes>
106                         <attribute name="maxAddresses" type="INTEGER" value="1"/>
107                     </attributes>
108                     <connections>
109                         <connection connector="node" other_connector="devs" other_guid="2"/>
110                         <connection connector="inet" other_connector="devs" other_guid="9"/>
111                     </connections>
112                 </element>
113                 <element factory_id="NodeInterface" guid="12">
114                     <graphical_info height="100.0" width="100.0" x="356.0" y="76.0"/>
115                     <factory_attributes>
116                         <factory_attribute name="maxAddresses" type="INTEGER" value="1"/>
117                     </factory_attributes>
118                     <attributes>
119                         <attribute name="maxAddresses" type="INTEGER" value="1"/>
120                     </attributes>
121                     <connections>
122                         <connection connector="node" other_connector="devs" other_guid="3"/>
123                         <connection connector="inet" other_connector="devs" other_guid="9"/>
124                     </connections>
125                 </element>
126                 <element factory_id="Node" guid="15">
127                     <graphical_info height="100.0" width="100.0" x="1.0" y="-216.0"/>
128                     <attributes>
129                         <attribute name="forward_X11" type="BOOL" value="False"/>
130                         <attribute name="operatingSystem" type="STRING" value="f12"/>
131                     </attributes>
132                     <connections>
133                         <connection connector="devs" other_connector="node" other_guid="16"/>
134                         <connection connector="devs" other_connector="node" other_guid="22"/>
135                         <connection connector="devs" other_connector="node" other_guid="23"/>
136                     </connections>
137                 </element>
138                 <element factory_id="NodeInterface" guid="16">
139                     <graphical_info height="100.0" width="100.0" x="6.0" y="72.0"/>
140                     <factory_attributes>
141                         <factory_attribute name="maxAddresses" type="INTEGER" value="1"/>
142                     </factory_attributes>
143                     <attributes>
144                         <attribute name="maxAddresses" type="INTEGER" value="1"/>
145                     </attributes>
146                     <connections>
147                         <connection connector="node" other_connector="devs" other_guid="15"/>
148                         <connection connector="inet" other_connector="devs" other_guid="9"/>
149                     </connections>
150                 </element>
151                 <element factory_id="TunInterface" guid="21">
152                     <graphical_info height="100.0" width="100.0" x="-255.0" y="-110.0"/>
153                     <factory_attributes>
154                         <factory_attribute name="maxAddresses" type="INTEGER" value="1"/>
155                     </factory_attributes>
156                     <attributes>
157                         <attribute name="up" type="BOOL" value="True"/>
158                         <attribute name="maxAddresses" type="INTEGER" value="1"/>
159                         <attribute name="label" type="STRING" value="tap-cli"/>
160                         <attribute name="bwlimit" type="INTEGER" value="256"/>
161                     </attributes>
162                     <addresses>
163                         <address Address="192.168.2.2" NetPrefix="27"/>
164                     </addresses>
165                     <connections>
166                         <connection connector="node" other_connector="devs" other_guid="2"/>
167                         <connection connector="udp" other_connector="udp" other_guid="22"/>
168                     </connections>
169                 </element>
170                 <element factory_id="TunInterface" guid="22">
171                     <graphical_info height="100.0" width="100.0" x="-56.0" y="-105.0"/>
172                     <factory_attributes>
173                         <factory_attribute name="maxAddresses" type="INTEGER" value="1"/>
174                     </factory_attributes>
175                     <attributes>
176                         <attribute name="up" type="BOOL" value="True"/>
177                         <attribute name="maxAddresses" type="INTEGER" value="1"/>
178                         <attribute name="bwlimit" type="INTEGER" value="256"/>
179                     </attributes>
180                     <addresses>
181                         <address Address="192.168.2.3" NetPrefix="27"/>
182                     </addresses>
183                     <connections>
184                         <connection connector="node" other_connector="devs" other_guid="15"/>
185                         <connection connector="udp" other_connector="udp" other_guid="21"/>
186                     </connections>
187                 </element>
188                 <element factory_id="TunInterface" guid="23">
189                     <graphical_info height="100.0" width="100.0" x="77.0" y="-104.0"/>
190                     <factory_attributes>
191                         <factory_attribute name="maxAddresses" type="INTEGER" value="1"/>
192                     </factory_attributes>
193                     <attributes>
194                         <attribute name="up" type="BOOL" value="True"/>
195                         <attribute name="maxAddresses" type="INTEGER" value="1"/>
196                         <attribute name="bwlimit" type="INTEGER" value="##bwlimit##"/>
197                     </attributes>
198                     <addresses>
199                         <address Address="192.168.2.34" NetPrefix="27"/>
200                     </addresses>
201                     <connections>
202                         <connection connector="node" other_connector="devs" other_guid="15"/>
203                         <connection connector="fd-&gt;" other_connector="-&gt;fd" other_guid="26"/>
204                     </connections>
205                 </element>
206                 <element factory_id="TunInterface" guid="24">
207                     <graphical_info height="100.0" width="100.0" x="264.0" y="-107.0"/>
208                     <factory_attributes>
209                         <factory_attribute name="maxAddresses" type="INTEGER" value="1"/>
210                     </factory_attributes>
211                     <attributes>
212                         <attribute name="up" type="BOOL" value="True"/>
213                         <attribute name="maxAddresses" type="INTEGER" value="1"/>
214                         <attribute name="label" type="STRING" value="tap-srv"/>
215                         <attribute name="bwlimit" type="INTEGER" value="256"/>
216                     </attributes>
217                     <addresses>
218                         <address Address="192.168.2.35" NetPrefix="27"/>
219                     </addresses>
220                     <connections>
221                         <connection connector="node" other_connector="devs" other_guid="3"/>
222                         <connection connector="udp" other_connector="udp" other_guid="26"/>
223                     </connections>
224                 </element>
225                 <element factory_id="ClassQueueFilter" guid="26">
226                     <graphical_info height="100.0" width="100.0" x="174.0" y="19.0"/>
227                     <attributes>
228                         <attribute name="args" type="STRING" value="size=500,classes=##classes##"/>
229                     </attributes>
230                     <traces>
231                         <trace name="dropped_stats"/>
232                     </traces>
233                     <connections>
234                         <connection connector="udp" other_connector="udp" other_guid="24"/>
235                         <connection connector="-&gt;fd" other_connector="fd-&gt;" other_guid="23"/>
236                     </connections>
237                 </element>
238             </elements>
239         </testbed>
240     </testbeds>
241 </experiment>