source: trunk/wikifiles/hello-geni/rspecs/openflow-clemson-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.5 KB
Line 
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+datapath+06:d6:00:26:f1:3f:e4:80"
20             component_manager_id="urn:publicid:IDN+openflow:foam:foam+authority+am"
21             dpid="06:d6:00:26:f1:3f:e4:80">
22          <openflow:port num="36"/>
23          <openflow:port num="43"/>
24        </openflow:datapath>
25
26      </openflow:group>
27
28      <openflow:match>
29          <openflow:use-group name="hg_group"/>
30          <openflow:packet>
31            <openflow:dl_type value="0x800,0x806" />
32            <openflow:nw_src value="10.42.130.0/24"/>
33            <openflow:nw_dst value="10.42.130.0/24"/>
34          </openflow:packet>
35      </openflow:match>
36
37  </openflow:sliver>
38
39</rspec>
Note: See TracBrowser for help on using the repository browser.