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


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

--

Legend:

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

    v3 v4  
    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 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:
     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 that include the following compute resources:
     10
     11 - 1 PG compute resource at BBN running as a web server
     12 - 1 MyPLC compute resource at Wisconsin running as a web client
     13 - 1 MyPLC compute resource at Clemson running as a web client.
     14
     15This example also shows a NOX !OpenFlow Controller running on a slice resource that is available and accessible to the FOAM instances.
    1016
    1117[[Image(OF-Experiment-example.jpg)]]
     
    2733This 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.
    2834
    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 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.
     35The following omni_config was used for this experiment along with the credentials from the GPO Clearinghouse to access the GENI Aggregate Managers in this experiment:
     36{{{
     37[omni]
     38default_cf = pgeni
     39users = lnevers
     40
     41# ---------- Users ----------
     42[lnevers]
     43urn = urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers
     44keys = ~/.ssh/id_rsa.pub
     45
     46# ---------- Frameworks ----------
     47[pgeni]
     48type = pg
     49ch = https://www.emulab.net:443/protogeni/xmlrpc/ch
     50sa = https://www.pgeni.gpolab.bbn.com:443/protogeni/xmlrpc/sa
     51cert = ~/.ssl/pgeni/encrypted-cleartext.pem
     52key = ~/.ssl/pgeni/encrypted-cleartext.pem
     53verbose=false
     54
     55[pg]
     56type=pg
     57ch = https://www.emulab.net:443/protogeni/xmlrpc/ch
     58sa = https://www.emulab.net:443/protogeni/xmlrpc/sa
     59cert = ~/.ssl/protogeni/encrypted-cleartext.pem
     60key = ~/.ssl/protogeni/encrypted-cleartext.pem
     61}}}
     62
     63A list of Aggregate managers is 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.
    3064
    3165== Determine Resources ==
    3266
    33 An !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:
     67Each of the 3 sites will requires an !OpenFlow RSpec and a compute resource RSpec. To find out what resources are available use Omni tools to get a list of available resources. For a list of available aggregates see the [wiki:GeniAggregate GENI Aggregates] page.
     68
     69To set up the 3 site experiment on this page, the following Aggregate Managers were queried with omni to get a list of available resources:
     70
     71 1. Clemson FOAM and MyPLC aggregates:
     72{{{
     73 ./src/omni.py -a https://foam.clemson.edu:3626/foam/gapi/1 listresources -o   # generates output file rspec-foam-clemson-edu-3626-foam-gapi-1.xml
     74 ./src/omni.py -a  http://myplc.clemson.edu:12346/ listresources -o            # generates rspec-myplc-clemson-edu-12346-.xml
     75}}}
     76 2. Wisconsin FOAM and MyPLC aggregates:
     77{{{
     78 ./src/omni.py -a https://foam.wail.wisc.edu:3626/foam/gapi/1 listresources -o    # generates rspec-foam-wail-wisc-edu-3626-foam-gapi-1.xml
     79 ./src/omni.py -a https://wings-openflow-1.wail.wisc.edu:12346/  listresources -o # rspec-wings-openflow-1-wail-wisc-edu-12346-.xml
     80}}}
     81 3. BBN FOAM and PG aggregates:
     82{{{
     83 ./src/omni.py -a  http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am listresources -o # generates rspec-www-pgeni-gpolab-bbn-com-protogeni.xml
     84 ./src/omni.py -a https://foam.gpolab.bbn.com:3626/foam/gapi/1 listresources -o         # generates rspec-foam-gpolab-bbn-com-3626-foam-gapi-1.xml
     85}}}
     86
     87Note: Each of the omni command used the -o argument to get the listresources output to a file.  Each of the listresources output files are attached to this page.
     88
     89
     90The 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:
    3491  * IP Addresses
    3592  * MAC Address
    3693  * Data Path Identifier (DPID).
    3794
    38 To 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:
     95 
     96
     97Here is an example of listing resources advertised by  each of the sites in this experiment and in the GENI Core:
    3998
    4099NOTE: This example uses Omni V1.6.1