source: trunk/wikifiles/hello-geni/rspecs/openflow-bbn-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: 1.8 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        <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00"
20           component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am">
21          <openflow:port num="35"/>
22          <openflow:port num="71"/>
23        </openflow:datapath>
24
25        <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:12:e2:b8:a5:d0"
26             component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am">
27          <openflow:port num="3"/>
28          <openflow:port num="20"/>
29        </openflow:datapath>
30      </openflow:group>
31
32      <openflow:match>
33          <openflow:use-group name="hg_group"/>
34          <openflow:packet>
35            <openflow:dl_type value="0x800,0x806" />
36            <openflow:nw_src value="10.42.130.0/24"/>
37            <openflow:nw_dst value="10.42.130.0/24"/>
38          </openflow:packet>
39      </openflow:match>
40
41  </openflow:sliver>
42
43</rspec>
Note: See TracBrowser for help on using the repository browser.