source: trunk/RSpecExamples/instageni-openflow-at-utah.rspec

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

adding example RSpecs for Niky

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3This example RSpec shows how to request the OpenFlow datapath for the
4Utah InstaGENI Rack on shared OpenFlow VLAN 1750
5
6AM: https://foam.utah.geniracks.net:3626/foam/gapi/1
7-->
8
9<rspec xmlns="http://www.geni.net/resources/rspec/3"
10       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
11       xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
12       xs:schemaLocation="http://www.geni.net/resources/rspec/3
13           http://www.geni.net/resources/rspec/3/request.xsd
14           http://www.geni.net/resources/rspec/ext/openflow/3
15           http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
16       type="request">
17
18  <openflow:sliver description="Sliver to allow Utah InstaGENI and other OF Sites communication over over backbone VLAN 3716 "
19                   email="yourname@site.com">
20
21
22    <openflow:controller url="tcp:yourhost.site.com:33020" type="primary" />
23
24
25    <openflow:group name="utah-instageni-1750">
26      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:ig-utah+datapath+06:d6:00:24:a8:5d:0b:00"
27                         component_manager_id="urn:publicid:IDN+openflow:foam:ig-utah+authority+am" />
28    </openflow:group>
29
30    <openflow:match>
31
32      <openflow:use-group name="utah-instageni-1750" />
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
42  </openflow:sliver>
43
44</rspec>
Note: See TracBrowser for help on using the repository browser.