Changes between Version 2 and Version 3 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/02/12 11:49:15 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v2 v3  
    77For experimenters who desire control over the network switching fabric in their slices, !OpenFlow provides increased flexibility.  Your experiment will incorporate an !OpenFlow controller. Many experimenters use existing 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].
    88
    9 The example captured in this page uses credentials from pgeni.gpolab.bbn.com, the GPO ProtoGENI Clearinghouse, to set up an experiment that includes 3 meso-scale OpenFlow sites (1 PG and 2 MyPLC nodes). This example shows a NOX !OpenFlow Controller running on a slice resource, and is available and is accessible to the FOAM instances. In this scenario, two sites are Web Servers and 3 are clients, as shown in the diagram below:
     9The example captured in this page uses credentials from pgeni.gpolab.bbn.com, the GPO ProtoGENI Clearinghouse, to set up an experiment that includes 3 meso-scale OpenFlow sites (1 PG at BBN and 2 MyPLC nodes at XXX and YYY). This example shows a NOX !OpenFlow Controller running on a slice resource that is available and accessible to the FOAM instances. In this scenario, two sites are Web Servers and 3 are clients, as shown in the diagram below:
    1010
    1111[[Image(OF-Experiment-example.jpg)]]
    1212
    13 Omni tools are used to reserve resources in each of the site's !FlowVisor !OpenFlow Aggregate Manager (FOAM) and GENI Aggregate Managers. All steps required to set up both Compute and Network Resources are outlined in this page:
     13Omni tools are used to reserve resources in each of the site's !FlowVisor !OpenFlow Aggregate Manager (FOAM) and GENI Aggregate Managers. All steps required to set up the Compute and Network Resources are outlined in this page:
    1414    * Configure Omni tools
    1515    * Define !OpenFlow RSpecs for sites
     
    2727This example assumes that GENI credentials have been set up as detailed in the [wiki:HowToUseOmni#a1.GetGENICredentials GENI Credentials] section of the [wiki:HowToUseOmni Omni how-to] page.
    2828
    29 The settings as defined in the [wiki:GENIExperimenter/ExperimentExample#OmniConfiguration Omni Configuration] section of the non-OF Omni how-to example will work for this OF setup.  The credentials from the GPO Clearinghouse will allow access to the GPO OF aggregate manager.  A list of Aggregate managers is being compiled in the [http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregate] page, if your site is not listed on this page you should contact your site administrator, or help@geni.net.
     29The settings as defined in the [wiki:GENIExperimenter/ExperimentExample#OmniConfiguration Omni Configuration] section of the non-OF Omni how-to example will work for this experiment.  The credentials from the GPO Clearinghouse allow access to the FOAM at each site and in the GENI Core.  A list of Aggregate managers is being compiled in the [http://groups.geni.net/geni/wiki/GeniAggregate GENI Aggregate] page, if your site is not listed on this page you should contact your site administrator, or help@geni.net.
    3030
    3131== Determine Resources ==
    3232
    33 An !OpenFlow RSPEC must be defined for each of the 3 site OF AM in order to get access to the OF resources.  The content of the OF RSPEC depends on the type OF AM resource that you may need.  You may need to define an RSPEC using any of the following:
     33An !OpenFlow RSpec must be defined for each of the 3 sites to get access to the OF resources.  The content of the OF RSpec depends on the type OF resources that you may need.  You may need to define an RSpec using any of the following:
    3434  * IP Addresses
    3535  * MAC Address
    3636  * Data Path Identifier (DPID).
    3737
    38 To find out what OF resources are available from each of the OF Aggregate Manager, you may use Omni tools to get a list of available resources. For a list of available aggregates see the [wiki:GeniAggregate GENI Aggregates] page. Here is an example of listing resources advertised by the OF Aggregate Manager for Site 1 in native RSPEC format.
    39 
    40 NOTE: This example uses Omni V1.3 and later syntax (native is the default, and the {{{-o}}} option allows you to save the output to a file). For earlier versions of omni, you should (a) include the {{{-n}}} argument, (b) re-direct output to a file (''>'') instead of the -o option, and (c) use PG V0.2 RSpecs at Emulab and SFA format RSpecs at PlanetLab.
     38To find out what OF resources are available from each of the FOAM sites, use Omni tools to get a list of available resources. For a list of available aggregates see the [wiki:GeniAggregate GENI Aggregates] page. Here is an example of listing resources advertised by  each of the sites in this experiment and in the GENI Core:
     39
     40NOTE: This example uses Omni V1.6.1
    4141
    4242{{{
    4343$ ./src/omni.py -a https://ofam1.site1.com:1443/openflow/gapi/ -o listresources
    44 INFO:omni:Loading config file omni_config
    45 INFO:omni:Using control framework pgeni
    46 INFO:omni:Saving output to a file.
    47 INFO:omni:Listed resources on 1 out of 1 possible aggregates.
    48 INFO:omni:Writing to 'rspec-ofam1-site1-com-1443.xml'
    49 INFO:omni: ------------------------------------------------------------
    50 INFO:omni: Completed listresources:
    51 
    52   Options as run:
    53                 aggregate: https://ofam1.site1.com:1443/openflow/gapi/
    54                 configfile: omni_config
    55                 framework: pgeni
    56                 native: True
    57                 output: True
    58 
    59   Args: listresources
    60 
    61   Result Summary: Retrieved resources from 1 aggregates.
    62 Wrote rspecs from 1 aggregates to 1 files.
    63 INFO:omni: ============================================================
     44<<add query for BBN FOAM, XXX FOAM, YYY FOAM, NLR FOAM and INTERNET2 FOAM>>>
     45<<<attach output from list resources>>>
    6446}}}
    6547
     
    8971The above provides the switch and the port URN information to be used in making the OF flowspace reservation.  The above results will give you some insight into what is available, but it is recommended that you coordinate with the site contact to ensure RSpec accuracy for each of the OF Aggregate Managers. 
    9072
     73
     74
    9175== Request Resources ==
    9276