Changes between Version 133 and Version 134 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/26/12 16:48:59 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/ExperimentExample-OF-FOAM

    v133 v134  
    55This page illustrates an !OpenFlow (OF) example for the [wiki:HowToUseOmni Omni How-to] page. OpenFlow is used for the control of the network resources in the GENI backbone and at Meso-scale campus locations.  Experimenters can use GENI resources without learning !OpenFlow. Experimenters can choose to control the network switching fabric in their slices by running an !OpenFlow controller. Many experimenters use existing !OpenFlow controller code as-is, some use controllers with relatively simple modifications, and some experimenters have written their own controller.  The GPO is available to help design your controller and plan your experiment configuration.  Feel free to contact us at [mailto:help@geni.net].
    66
    7 The experiment in this page uses credentials from the GPO ProtoGENI Clearinghouse (pgeni.gpolab.bbn.com) to set up a 3 Meso-scale sites !OpenFlow experiment. The sites are  BBN, Wisconsin and Clemson each with a MyPLC compute resource. If you are interested in using PG resources, see the [http://groups.geni.net/geni/wiki/HelloGENI HelloGENI] experiment page for an !OpenFlow experiment using PG nodes.
     7The experiment in this page uses Omni V1.6.1 and credentials from the GPO ProtoGENI Clearinghouse (pgeni.gpolab.bbn.com) to set up a 3 Meso-scale sites !OpenFlow experiment. The sites are  BBN, Wisconsin and Clemson each with a MyPLC compute resource. If you are interested in using PG resources, see the [http://groups.geni.net/geni/wiki/HelloGENI HelloGENI] experiment page for an !OpenFlow experiment using PG nodes.
    88
    99[[Image(OF-FOAM-experiment.jpg)]]
     
    8383
    8484
    85 The experiment captured in this page uses the BBN, Clemson, Wisconsin and NLR aggregates.  For a complete list of available GENI aggregates see the  [http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregates] page.  Also, this experiment uses ''aggregate_nicknames'' defined in the omni_config to replace the aggregate URLs used by the Omni commands.
     85The experiment captured in this page uses the BBN, Clemson, Wisconsin and NLR aggregates.  For a complete list of available GENI aggregates see the  [http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregates] page.  Also, this experiment uses ''aggregate_nicknames'' defined in the omni_config to replace the aggregate URLs used by the Omni commands. 
    8686
    8787== 4. Define Compute Resources RSpecs ==
    8888
    89 This experiment uses Omni V1.6.1 to set up the experiment. As a first step, the experimenter determines the available compute resources at each site. Following are the omni commands issued to get the advertisements of available compute resources from the BBN, Clemson and Wisconsin MyPLC aggregates:
     89To write a MyPLC RSpec you must determine which nodes will be used for the experiment at each site. This section describes this process, which is comprised of the following steps: 
     90
     91Step 1. Collect listresources from all MyPLC Aggregates.
     92Step 2. Determine the MyPLC host to be reserved.
     93Step 3. Generate the MyPLC Rspecs.
     94
     95=== Step 1. Collect listresources from all MyPLC Aggregates ===
     96
     97As a first step, the experimenter determines the available compute resources at each site. Following are the Omni commands issued to get the advertisements of available compute resources from the BBN, Clemson and Wisconsin MyPLC aggregates:
    9098
    9199{{{
     
    99107''-o'' argument to get the listresources output into advertisement RSpec files, which are all attached to this page as a reference.  [[BR]]
    100108
    101 The advertisement RSpecs are used to generate the request RSpecs to reserve the resources.  Following are the compute resources request RSpec defined based on the output of the listresources commands above.
     109=== Step 2. Determine the MyPLC hosts to be reserved ===
     110From each site's  advertisement RSpecs generated above, we choose one host:
     111
     112==== BBN MyPLC Host ====
     113At the BBN MyPLC, we choose the host ''navis'':
     114{{{
     115   <node component_id="urn:publicid:IDN+plc:gpolab:gpolab+node+navis.gpolab.bbn.com"
     116        component_manager_id="urn:publicid:IDN+plc:gpolab+authority+am"
     117        component_name="navis.gpolab.bbn.com" client_id="mypc0" exclusive="false">
     118        <sliver_type name="plab-vnode">
     119        </sliver_type>
     120    </node>
     121}}}
     122
     123==== Clemson MyPLC Host ====
     124At the Clemson MyPLC, we choose the host ''planetlab4'':
     125{{{
     126<node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu"
     127        component_manager_id="urn:publicid:IDN+plc+authority+am"
     128        component_name="planetlab4.clemson.edu" client_id="planetlab4" exclusive="false">
     129        <sliver_type name="plab-vnode">
     130        </sliver_type>
     131    </node>
     132}}}
     133
     134==== Wisconsin MyPLC Host ====
     135At the Wisconsin MyPLC, we choose the host ''wings-openflow-1'':
     136{{{
     137<node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-1.wail.wisc.edu"
     138        component_manager_id="urn:publicid:IDN+plc+authority+am"
     139        component_name="wings-openflow-1.wail.wisc.edu" exclusive="false">
     140        <sliver_type name="plab-vnode">
     141        </sliver_type>
     142    </node>
     143
     144}}}
     145
     146=== Step 3. Generate the MyPLCs RSpecs ===
     147
     148The advertisement RSpecs are used to generate the request RSpecs to reserve the resources.  Following are the compute resources request RSpec defined based on the output of the listresources commands above.  The request Rspec template looks as follows:
     149{{{
     150<?xml version="1.0" ?>
     151<!-- Resources at AM:
     152        URN: unspecified_AM_URN
     153        URL: http://myplc.gpolab.bbn.com:12346/
     154 -->
     155
     156<rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2"
     157        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     158        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
     159        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     160        xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
     161        http://www.protogeni.net/resources/rspec/2/request.xsd"> 
     162
     163</rspec>
     164}}}
     165
    102166
    103167'''BBN MyPLC Compute Resource RSpec '''