HowTo/RunOFTutorial: openflow-stanford-tut13foam.rspec

File openflow-stanford-tut13foam.rspec, 11.3 KB (added by nriga@bbn.com, 8 years ago)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<rspec xmlns="http://www.geni.net/resources/rspec/3"
4       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
5       xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
6       xs:schemaLocation="http://www.geni.net/resources/rspec/3
7           http://www.geni.net/resources/rspec/3/request.xsd
8           http://www.geni.net/resources/rspec/ext/openflow/3
9           http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
10       type="request">
11
12  <openflow:sliver
13       description="The central FOAM for the tutorial gec13 :6633"
14                   email="nriga@bbn.com">
15
16    <openflow:controller url="tcp:foam-tutorial.gpolab.bbn.com:6633" type="primary" />
17
18    <openflow:group name="tutorial">
19
20      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+datapath:03:85:00:23:47:4e:2e:c0"
21                         component_manager_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+authority+am"
22                         dpid="03:85:00:23:47:4e:2e:c0">
23
24      <!--openflow:datapath component_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+datapath:03:85:00:23:47:4e:2e:c0"
25                         component_manager_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+authority+am"
26                         dpid="03:85:00:23:47:4e:2e:c0"-->  <!-- hpsw4-901 -->
27        <openflow:port num="4"/>  <!-- of-planet1 -->
28        <openflow:port num="8"/>  <!-- to necsw2 -->
29      </openflow:datapath>
30
31      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+datapath:00:00:00:12:e2:78:67:65"
32                         component_manager_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+authority+am"
33                         dpid="00:00:00:12:e2:78:67:65">  <!-- necsw-901 -->
34        <openflow:port num="1"/>  <!-- to necsw2 -->
35        <openflow:port num="2"/>  <!-- to necsw7 -->
36        <openflow:port num="4"/>  <!-- of-planet2 -->
37      </openflow:datapath>
38
39      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+datapath:00:00:00:12:e2:b8:f3:d0"
40                         component_manager_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+authority+am"
41                         dpid="00:00:00:12:e2:b8:f3:d0">  <!-- necsw7-901 -->
42        <openflow:port num="3"/>   <!-- to necsw -->
43        <openflow:port num="27"/>  <!-- of-planet3 -->
44        <openflow:port num="28"/>  <!-- of-planet4 -->
45        <openflow:port num="33"/>  <!-- of-protogeni1 -->
46        <openflow:port num="34"/>  <!-- of-protogeni3 -->
47      </openflow:datapath>
48      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+datapath:00:00:00:12:e2:78:31:f5"
49                         component_manager_id="urn:publicid:IDN+openflow:foam:openflow4.stanford.edu+authority+am"
50                         dpid="00:00:00:12:e2:78:31:f5">  <!-- necsw2-901 -->
51        <openflow:port num="1"/>   <!-- to necsw -->
52        <openflow:port num="2"/>   <!-- to hpsw4 -->
53        <openflow:port num="10"/>  <!-- to NLR 3716 -->
54        <openflow:port num="11"/>  <!-- to NLR 3715 -->
55      </openflow:datapath>
56
57    </openflow:group>
58
59  <openflow:match>
60        <openflow:use-group name="tutorial"/>
61        <openflow:packet>
62           <openflow:dl_type value="0x800,0x806" />
63           <openflow:nw_src value="10.42.112.0/24" />
64           <openflow:nw_dst value="10.42.112.0/24" />
65        </openflow:packet>
66      </openflow:match>
67
68       <openflow:match>
69        <openflow:use-group name="tutorial"/>
70        <openflow:packet>
71           <openflow:dl_type value="0x800,0x806" />
72           <openflow:nw_src value="10.42.113.0/24" />
73           <openflow:nw_dst value="10.42.113.0/24" />
74        </openflow:packet>
75      </openflow:match>
76
77       
78       <openflow:match>
79        <openflow:use-group name="tutorial"/>
80        <openflow:packet>
81           <openflow:dl_type value="0x800,0x806" />
82           <openflow:nw_src value="10.42.116.0/24" />
83           <openflow:nw_dst value="10.42.116.0/24" />
84        </openflow:packet>
85      </openflow:match>
86
87       <openflow:match>
88        <openflow:use-group name="tutorial"/>
89        <openflow:packet>
90           <openflow:dl_type value="0x800,0x806" />
91           <openflow:nw_src value="10.42.117.0/24" />
92           <openflow:nw_dst value="10.42.117.0/24" />
93        </openflow:packet>
94      </openflow:match>
95
96       <openflow:match>
97        <openflow:use-group name="tutorial"/>
98        <openflow:packet>
99           <openflow:dl_type value="0x800,0x806" />
100           <openflow:nw_src value="10.42.118.0/24" />
101           <openflow:nw_dst value="10.42.118.0/24" />
102        </openflow:packet>
103      </openflow:match>
104
105       <openflow:match>
106        <openflow:use-group name="tutorial"/>
107        <openflow:packet>
108           <openflow:dl_type value="0x800,0x806" />
109           <openflow:nw_src value="10.42.119.0/24" />
110           <openflow:nw_dst value="10.42.119.0/24" />
111        </openflow:packet>
112      </openflow:match>
113
114       <openflow:match>
115        <openflow:use-group name="tutorial"/>
116        <openflow:packet>
117           <openflow:dl_type value="0x800,0x806" />
118           <openflow:nw_src value="10.42.120.0/24" />
119           <openflow:nw_dst value="10.42.120.0/24" />
120        </openflow:packet>
121      </openflow:match>
122
123       <openflow:match>
124        <openflow:use-group name="tutorial"/>
125        <openflow:packet>
126           <openflow:dl_type value="0x800,0x806" />
127           <openflow:nw_src value="10.42.121.0/24" />
128           <openflow:nw_dst value="10.42.121.0/24" />
129        </openflow:packet>
130      </openflow:match>
131
132       <openflow:match>
133        <openflow:use-group name="tutorial"/>
134        <openflow:packet>
135           <openflow:dl_type value="0x800,0x806" />
136           <openflow:nw_src value="10.42.122.0/24" />
137           <openflow:nw_dst value="10.42.122.0/24" />
138        </openflow:packet>
139      </openflow:match>
140
141       <openflow:match>
142        <openflow:use-group name="tutorial"/>
143        <openflow:packet>
144           <openflow:dl_type value="0x800,0x806" />
145           <openflow:nw_src value="10.42.123.0/24" />
146           <openflow:nw_dst value="10.42.123.0/24" />
147        </openflow:packet>
148      </openflow:match>
149
150       <openflow:match>
151        <openflow:use-group name="tutorial"/>
152        <openflow:packet>
153           <openflow:dl_type value="0x800,0x806" />
154           <openflow:nw_src value="10.42.124.0/24" />
155           <openflow:nw_dst value="10.42.124.0/24" />
156        </openflow:packet>
157      </openflow:match>
158
159       <openflow:match>
160        <openflow:use-group name="tutorial"/>
161        <openflow:packet>
162           <openflow:dl_type value="0x800,0x806" />
163           <openflow:nw_src value="10.42.125.0/24" />
164           <openflow:nw_dst value="10.42.125.0/24" />
165        </openflow:packet>
166      </openflow:match>
167
168       <openflow:match>
169        <openflow:use-group name="tutorial"/>
170        <openflow:packet>
171           <openflow:dl_type value="0x800,0x806" />
172           <openflow:nw_src value="10.42.126.0/24" />
173           <openflow:nw_dst value="10.42.126.0/24" />
174        </openflow:packet>
175      </openflow:match>
176
177       <openflow:match>
178        <openflow:use-group name="tutorial"/>
179        <openflow:packet>
180           <openflow:dl_type value="0x800,0x806" />
181           <openflow:nw_src value="10.42.127.0/24" />
182           <openflow:nw_dst value="10.42.127.0/24" />
183        </openflow:packet>
184      </openflow:match>
185
186       <openflow:match>
187        <openflow:use-group name="tutorial"/>
188        <openflow:packet>
189           <openflow:dl_type value="0x800,0x806" />
190           <openflow:nw_src value="10.42.128.0/24" />
191           <openflow:nw_dst value="10.42.128.0/24" />
192        </openflow:packet>
193      </openflow:match>
194
195       <openflow:match>
196        <openflow:use-group name="tutorial"/>
197        <openflow:packet>
198           <openflow:dl_type value="0x800,0x806" />
199           <openflow:nw_src value="10.42.129.0/24" />
200           <openflow:nw_dst value="10.42.129.0/24" />
201        </openflow:packet>
202      </openflow:match>
203
204       <openflow:match>
205        <openflow:use-group name="tutorial"/>
206        <openflow:packet>
207           <openflow:dl_type value="0x800,0x806" />
208           <openflow:nw_src value="10.42.130.0/24" />
209           <openflow:nw_dst value="10.42.130.0/24" />
210        </openflow:packet>
211      </openflow:match>
212
213       <openflow:match>
214        <openflow:use-group name="tutorial"/>
215        <openflow:packet>
216           <openflow:dl_type value="0x800,0x806" />
217           <openflow:nw_src value="10.42.131.0/24" />
218           <openflow:nw_dst value="10.42.131.0/24" />
219        </openflow:packet>
220      </openflow:match>
221
222       <openflow:match>
223        <openflow:use-group name="tutorial"/>
224        <openflow:packet>
225           <openflow:dl_type value="0x800,0x806" />
226           <openflow:nw_src value="10.42.132.0/24" />
227           <openflow:nw_dst value="10.42.132.0/24" />
228        </openflow:packet>
229      </openflow:match>
230     
231       <openflow:match>
232        <openflow:use-group name="tutorial"/>
233        <openflow:packet>
234           <openflow:dl_type value="0x800,0x806" />
235           <openflow:nw_src value="10.42.137.0/24" />
236           <openflow:nw_dst value="10.42.137.0/24" />
237        </openflow:packet>
238      </openflow:match>
239
240      <openflow:match>
241        <openflow:use-group name="tutorial"/>
242        <openflow:packet>
243           <openflow:dl_type value="0x800,0x806" />
244           <openflow:nw_src value="10.42.140.0/24" />
245           <openflow:nw_dst value="10.42.140.0/24" />
246        </openflow:packet>
247      </openflow:match>
248
249      <openflow:match>
250        <openflow:use-group name="tutorial"/>
251        <openflow:packet>
252           <openflow:dl_type value="0x800,0x806" />
253           <openflow:nw_src value="10.42.136.0/24" />
254           <openflow:nw_dst value="10.42.136.0/24" />
255        </openflow:packet>
256      </openflow:match>
257
258      <openflow:match>
259        <openflow:use-group name="tutorial"/>
260        <openflow:packet>
261           <openflow:dl_type value="0x800,0x806" />
262           <openflow:nw_src value="10.42.139.0/24" />
263           <openflow:nw_dst value="10.42.139.0/24" />
264        </openflow:packet>
265      </openflow:match>
266
267      <openflow:match>
268        <openflow:use-group name="tutorial"/>
269        <openflow:packet>
270           <openflow:dl_type value="0x800,0x806" />
271           <openflow:nw_src value="10.42.144.0/24" />
272           <openflow:nw_dst value="10.42.144.0/24" />
273        </openflow:packet>
274      </openflow:match>
275
276      <openflow:match>
277        <openflow:use-group name="tutorial"/>
278        <openflow:packet>
279           <openflow:dl_type value="0x800,0x806" />
280           <openflow:nw_src value="10.42.149.0/24" />
281           <openflow:nw_dst value="10.42.149.0/24" />
282        </openflow:packet>
283      </openflow:match>
284
285
286      <openflow:match>
287        <openflow:use-group name="tutorial"/>
288        <openflow:packet>
289          <openflow:dl_type value="
290          0x2772, 0x2773, 0x2774, 0x2775, 0x2776,
291          0x2777, 0x2778, 0x2779, 0x277A, 0x277B,
292          0x277C, 0x277D, 0x277E, 0x277F, 0x2780,
293          0x2781, 0x2782, 0x2783, 0x2784, 0x2785,
294          0x2786, 0x2787, 0x2788, 0x2789, 0x278A,
295          0x278b, 0x278c, 0x278d, 0x278e, 0x278f,
296          0x2790, 0x2791, 0x2792, 0x2793, 0x2794,
297          0x2795, 0x2796, 0x2797, 0x2798, 0x2799,
298          0x279A, 0x279B" />
299        </openflow:packet>
300      </openflow:match>
301   </openflow:sliver>
302
303</rspec>