source: trunk/wikifiles/hello-geni/rspecs/openflow-nlr-hellogeni.rspec

Last change on this file was 1192, checked in by nriga@bbn.com, 13 years ago

Added the rspecs for the HelloGeni page

File size: 2.5 KB
RevLine 
[1192]1<?xml version="1.0" encoding="UTF-8"?>
2<!-- This rspec will reserve the OpenFlow resources at BBN
3AM:
4-->
5<rspec  xmlns="http://www.geni.net/resources/rspec/3"
6        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
7        xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
8        xs:schemaLocation="http://www.geni.net/resources/rspec/3
9              http://www.geni.net/resources/rspec/3/request.xsd
10              http://www.geni.net/resources/rspec/ext/openflow/3
11              http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
12    type="request">
13
14    <openflow:sliver description="HelloGENI experiment" email="user@geni.net">
15     
16      <openflow:controller url="tcp:example.geni.net:9933" type="primary" />
17
18      <openflow:group name="hg_group">
19
20        <openflow:datapath
21              component_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+datapath+0e:83:00:23:47:c8:bc:00"
22              component_manager_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+authority+am"
23              dpid="0e:83:00:23:47:c8:bc:00"/>
24
25        <openflow:datapath
26              component_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+datapath+0e:83:00:23:47:ca:bc:40"
27              component_manager_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+authority+am"
28              dpid="0e:83:00:23:47:ca:bc:40"/>
29
30        <openflow:datapath
31              component_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+datapath+0e:83:00:24:a8:d2:48:00"
32              component_manager_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+authority+am"
33              dpid="0e:83:00:24:a8:d2:48:00"/>
34
35        <openflow:datapath
36              component_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+datapath+0e:83:00:24:a8:d2:b8:40"
37              component_manager_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+authority+am"
38              dpid="0e:83:00:24:a8:d2:b8:40"/>
39       
40        <openflow:datapath
41              component_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+datapath+0e:83:00:26:f1:40:a8:00"
42              component_manager_id="urn:publicid:IDN+openflow:foam:foam.nlr.net+authority+am"
43              dpid="0e:83:00:26:f1:40:a8:00"/>
44
45      </openflow:group>
46
47      <openflow:match>
48          <openflow:use-group name="hg_group"/>
49          <openflow:packet>
50            <openflow:dl_type value="0x800,0x806" />
51            <openflow:nw_src value="10.42.130.0/24"/>
52            <openflow:nw_dst value="10.42.130.0/24"/>
53          </openflow:packet>
54      </openflow:match>
55
56  </openflow:sliver>
57
58</rspec>
Note: See TracBrowser for help on using the repository browser.