Changes between Version 19 and Version 20 of GeniAggregate/StanfordOpenFlow


Ignore:
Timestamp:
05/02/12 14:10:27 (7 years ago)
Author:
mkobaya1@stanford.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GeniAggregate/StanfordOpenFlow

    v19 v20  
    3030== Sample Rspec ==
    3131{{{
    32 <resv_rspec type="openflow">
    33    <user affiliation="Stanford" email="mkobaya1@stanford.edu" firstname="Masayoshi" lastname="Kobayashi" password="openflowrocks"/>
    34    <project description="Asterix" name="Stanford's Asterix demo"/>
    35    <slice controller_url="tcp:controller.stanford.edu:8833" description="The Asterix controller at Stanford." name="stanford-asterix"/>
    36    <flowspace>
    37      <switch urn="urn:publicid:IDN+tulum.gpolab.bbn.com:expedient:openflow+switch:06:b3:00:24:a8:c4:b9:00"/>
    38      <dl_type from="35021" to="35021"/>
    39    </flowspace>
    40    <flowspace>
    41      <switch urn="urn:publicid:IDN+tulum.gpolab.bbn.com:expedient:openflow+switch:06:b3:00:24:a8:c4:b9:00"/>
    42      <dl_type from="2048" to="2048"/>
    43      <nw_proto from="6" to="6"/>
    44      <tp_dst from="10001" to="10001"/>
    45    </flowspace>   
    46    <flowspace>
    47      <switch urn="urn:publicid:IDN+tulum.gpolab.bbn.com:expedient:openflow+switch:06:b3:00:24:a8:c4:b9:00"/>
    48      <dl_type from="2048" to="2048"/>
    49      <nw_proto from="6" to="6"/>
    50      <tp_src from="10001" to="10001"/>
    51    </flowspace>
    52  </resv_rspec>
     32<?xml version="1.1" encoding="UTF-8"?>
     33<rspec xmlns="http://www.geni.net/resources/rspec/3"
     34       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     35       xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     36       xs:schemaLocation="http://www.geni.net/resources/rspec/3
     37             http://www.geni.net/resources/rspec/3/request.xsd
     38             http://www.geni.net/resources/rspec/ext/openflow/3
     39             http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     40       type="request">
     41
     42  <openflow:sliver email="mkobaya1@stanford.edu" description="Asterix controller" ref="http://www.geni.net">
     43    <openflow:controller url="tcp:openflow8.stanford.edu:8833" type="primary" />
     44    <openflow:group name="mygrp">
     45
     46      <openflow:datapath
     47             component_id="urn:publicid:IDN+openflow:foam:Stanford+datapath:00:00:00:12:e2:78:31:f5"
     48                     component_manager_id="urn:publicid:IDN+openflow:foam:Stanford+authority+am"
     49             dpid="00:00:00:12:e2:78:31:f5">
     50        <openflow:port name="1" num="1"/>
     51        <openflow:port name="7" num="7"/>
     52        <openflow:port name="11" num="11"/>
     53        <openflow:port name="12" num="12"/>
     54      </openflow:datapath>
     55
     56      <openflow:datapath
     57             component_id="urn:publicid:IDN+openflow:foam:Stanford+datapath:00:00:00:12:e2:b8:f3:64"
     58                     component_manager_id="urn:publicid:IDN+openflow:foam:Stanford+authority+am"
     59             dpid="00:00:00:12:e2:b8:f3:64">
     60        <openflow:port name="14" num="14"/>
     61        <openflow:port name="17" num="17"/>
     62      </openflow:datapath>
     63
     64      <openflow:datapath
     65             component_id="urn:publicid:IDN+openflow:foam:Stanford+datapath:00:00:00:12:e2:78:67:65"
     66                     component_manager_id="urn:publicid:IDN+openflow:foam:Stanford+authority+am"
     67             dpid="00:00:00:12:e2:78:67:65">
     68        <openflow:port name="1" num="1"/>
     69        <openflow:port name="2" num="2"/>
     70        <openflow:port name="4" num="4"/>
     71        <openflow:port name="6" num="6"/>
     72      </openflow:datapath>
     73
     74      <openflow:datapath
     75             component_id="urn:publicid:IDN+openflow:foam:Stanford+datapath:00:00:00:12:e2:b8:f3:d0"
     76                     component_manager_id="urn:publicid:IDN+openflow:foam:Stanford+authority+am"
     77             dpid="00:00:00:12:e2:b8:f3:d0">
     78        <openflow:port name="3" num="3"/>
     79        <openflow:port name="27" num="27"/>
     80        <openflow:port name="28" num="28"/>
     81      </openflow:datapath>
     82
     83      <openflow:datapath
     84             component_id="urn:publicid:IDN+openflow:foam:Stanford+datapath:03:85:00:23:47:4e:2e:c0"
     85                     component_manager_id="urn:publicid:IDN+openflow:foam:Stanford+authority+am"
     86             dpid="03:85:00:23:47:4e:2e:c0">
     87        <openflow:port name="4" num="4"/>
     88        <openflow:port name="5" num="5"/>
     89      </openflow:datapath>
     90    </openflow:group>
     91
     92    <openflow:match>
     93      <openflow:use-group name="mygrp" />
     94      <openflow:packet>
     95        <openflow:dl_type value="0x800, 0x806"/>
     96        <openflow:nw_src value="10.42.111.0/24"/>
     97        <openflow:nw_dst value="10.42.111.0/24"/>
     98      </openflow:packet>
     99    </openflow:match>
     100  </openflow:sliver>
     101</rspec>
    53102}}}
    54103