source: trunk/RSpecExamples/exogeni-openflow-at-bbn.rspec @ 1583

Last change on this file since 1583 was 1583, checked in by lnevers@bbn.com, 12 years ago

adding example RSpecs for Niky

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1<!--
2This example RSpec shows how to request the OpenFlow datapath for
3the BBN ExoGENI Rack on shared OpenFlow VLAN 1750
4
5AM: https://foam.gpolab.bbn.com:3626/foam/gapi/1
6-->
7
8<rspec xmlns="http://www.geni.net/resources/rspec/3"
9       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
10       xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
11       xs:schemaLocation="http://www.geni.net/resources/rspec/3
12           http://www.geni.net/resources/rspec/3/request.xsd
13           http://www.geni.net/resources/rspec/ext/openflow/3
14           http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
15       type="request">
16
17  <openflow:sliver description="Sliver to allow BBN ExoGENI and other OF Sites communication over over backbone VLAN 3716 "
18                   email="yourname@site.com">
19
20    <openflow:controller url="tcp:yourhost.site.com:33020" type="primary" />
21
22    <openflow:group name="Site-1750-nlr-3716">
23      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:12:e2:b8:a5:d0"
24                         component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am">
25        <openflow:port num="5"/>
26        <openflow:port num="15"/>
27      </openflow:datapath>
28    </openflow:group>
29
30    <openflow:match>
31
32      <openflow:use-group name="Site-1750-nlr-3716" />
33
34      <openflow:packet>
35        <openflow:dl_type value="0x800,0x806"/>
36        <openflow:nw_dst value="10.42.11.0/24"/>
37        <openflow:nw_src value="10.42.11.0/24"/>
38      </openflow:packet>
39
40    </openflow:match>
41  </openflow:sliver>
42
43</rspec>
Note: See TracBrowser for help on using the repository browser.