Changes between Version 83 and Version 84 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/20/12 10:56:49 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v83 v84  
    372372=== Step 3: Generate OpenFlow V3 RSpec ===
    373373
    374 This section uses guidelines from the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 RSpec] page to merge information from Step 2 and generate the complete BBN, Clemson, Wisconsin and NLR !OpenFlow request RSpecs.
     374This section uses guidelines from the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 RSpec] page to merge information from [wiki:GENIExperimenter/ExperimentExample-OF-FOAM#Step2:DeterminesitespecificOpenFlowdetails Step 2] and generate the complete BBN, Clemson, Wisconsin and NLR !OpenFlow request RSpecs.
    375375
    376376The following !OpenFlow V3 RSpec template is used to start each RSpec:
    377377
    378378{{{
    379 #xml
     379#!xml
    380380<?xml version="1.1" encoding="UTF-8"?>
    381381<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     
    391391      <openflow:controller url="tcp:example.geni.net:9933" type="primary" />
    392392
    393 
    394393        <!-- RSpec details from Step 2 here -->
    395394
     
    405404Note: If you do not have an !OpenFlow controller, you can set one up as shown [http://groups.geni.net/geni/wiki/OpenFlow/GeniBackboneTest#SetupyourOpenFlowcontroller here].
    406405
    407 After you have defined the email, experiment description, and controller details, use the modified !OpenFlow V3 RSpec template to generate the 3 site !OpenFlow Rspecs. The !OpenFlow RSpecs are generated by combining
    408 details from Step 2 with the modified template. Following are the completed site !OpenFlow RSpecs for the 3 sites in this experiment:
     406The modified !OpenFlow V3 Rspec template is shown below with the setting changes specific to our experiment:
     407{{{
     408#!xml
     409<?xml version="1.1" encoding="UTF-8"?>
     410<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     411        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     412        xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     413        xs:schemaLocation="http://www.geni.net/resources/rspec/3
     414              http://www.geni.net/resources/rspec/3/request.xsd
     415              http://www.geni.net/resources/rspec/ext/openflow/3
     416              http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     417    type="request">
     418   
     419    <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net">
     420     <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" />
     421
     422        <!-- RSpec details from Step 2 here -->
     423
     424    </openflow:sliver>
     425</rspec>
     426}}}
     427
     428Using the modified !OpenFlow V3 RSpec template we generate the 3 site !OpenFlow Rspecs by combining details from wiki:GENIExperimenter/ExperimentExample-OF-FOAM#Step2:DeterminesitespecificOpenFlowdetails Step 2] with the modified template. Following are the completed site !OpenFlow RSpecs for the 3 sites in this experiment:
    409429
    410430==== BBN OpenFlow RSpec ====
    411431
    412432{{{
    413 #xml
     433#!xml
    414434<?xml version="1.1" encoding="UTF-8"?>
    415435<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     
    465485
    466486{{{
    467 #xml
     487#!xml
    468488<?xml version="1.1" encoding="UTF-8"?>
    469489<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     
    504524
    505525{{{
    506 #xml
     526#!xml
    507527<?xml version="1.1" encoding="UTF-8"?>
    508528<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     
    557577
    558578{{{
    559 #xml
     579#!xml
    560580<?xml version="1.1" encoding="UTF-8"?>
    561581<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     
    595615== Create Slice and Request Resources ==
    596616
    597 Using the RSpecs that define the required OF flowspace, you can now request OF resources with Omni. First create a slice using your GPO Clearinghouse credentials as defined in the omni_config. Note that the slice name should be meaningful to you and then create a sliver for each resource aggregate.  In this example there are 4 OF aggregates (one per site plus one for the GENI core) and 3 compute resource aggregates (3 MyPLC), which maps to creating 7 slivers, and the following commands are executed:
     617Using the RSpecs that define the OF flowspace and compute resource for our experiment, we can now set up the experimennt with Omni. First create a slice using your GPO Clearinghouse credentials as defined in the omni_config. Note that the slice name should be meaningful to you and then create a sliver for each resource aggregate.  In this example there are 4 OF aggregates (one per site plus one for the GENI core) and 3 compute resource aggregates (3 MyPLC), which maps to creating 7 slivers, and the following commands are executed:  XXXX
    598618{{{
    599619 $ cd gcf-1.6.1