Changes between Version 135 and Version 136 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/26/12 21:55:57 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v135 v136  
    108108
    109109=== Step 2. Determine the MyPLC hosts to be reserved ===
    110 From each site's  advertisement RSpecs generated above, we choose one host:
     110
     111From each site's advertisement RSpecs generated above, we choose one host to use in the experiment. Detailed instructions for defining a MyPLC V2 RSpec are available [http://groups.geni.net/geni/wiki/GEC12OmniTutorial/Tutorial#CreatingPlanetLabRequestRSpecsfromAdvertisementRSpecs here].   This sections shows the MyPLC node details for each site:
    111112
    112113==== BBN MyPLC Host ====
     
    124125At the Clemson MyPLC, we choose the host ''planetlab4'':
    125126{{{
    126 <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu"
     127    <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu"
    127128        component_manager_id="urn:publicid:IDN+plc+authority+am"
    128129        component_name="planetlab4.clemson.edu" client_id="planetlab4" exclusive="false">
     
    135136At the Wisconsin MyPLC, we choose the host ''wings-openflow-1'':
    136137{{{
    137 <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-1.wail.wisc.edu"
     138    <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-1.wail.wisc.edu"
    138139        component_manager_id="urn:publicid:IDN+plc+authority+am"
    139140        component_name="wings-openflow-1.wail.wisc.edu" exclusive="false">
     
    146147=== Step 3. Generate the MyPLCs RSpecs ===
    147148
    148 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.  The request Rspec template looks as follows:
     149To generate the MyPLC RSpec, we combine the request RSpec template below with the node details in step 2.  Here is the RSpec V2 template:
    149150{{{
    150151<?xml version="1.0" ?>
     
    153154        URL: http://myplc.gpolab.bbn.com:12346/
    154155 -->
    155 
    156156<rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2"
    157157        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     
    161161        http://www.protogeni.net/resources/rspec/2/request.xsd"> 
    162162
    163 </rspec>
    164 }}}
    165 
     163        <!-- Insert MyPLC node details here -->
     164   
     165</rspec>
     166}}}
     167
     168Following are the complete MyPLC RSpec for each site:
    166169
    167170'''BBN MyPLC Compute Resource RSpec '''
    168 {{{
    169 #!xml
    170 <?xml version="1.0"?>
    171 <!--
    172 This rspec will create a container on each of the BBN production MyPLC plnodes.
    173 AM: https://myplc.gpolab.bbn.com:12346/
    174 -->
    175 <RSpec type="SFA">
    176   <network name="plc.gpolab">
    177        <node component_id="urn:publicid:IDN+plc:gpolab:gpolab+node+navis.gpolab.bbn.com"
    178        component_manager_id="urn:publicid:IDN+plc:gpolab+authority+sa"
    179        node_id="n1" site_id="urn:publicid:IDN+plc:gpolab:gpolab+authority+sa">     
    180             <hostname>        navis.gpolab.bbn.com      </hostname>     
    181         </node>   
    182   </network>
    183 </RSpec>
    184 }}}
    185 
    186 ''' Clemson MyPLC Compute Resources RSpec'''
    187171{{{
    188172#!xml
    189173<?xml version="1.0" ?>
    190174<!-- Resources at AM:
    191         URL: http://myplc.clemson.edu:12346/
    192 -->
    193 <RSpec type="SFA"> 
    194     <network name="plc">   
    195         <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu"
    196              component_manager_id="urn:publicid:IDN+plc+authority+sa"
    197                 node_id="n1" site_id="urn:publicid:IDN+plc:cu+authority+sa">     
    198             <hostname>        planetlab4.clemson.edu      </hostname>     
    199         </node>   
    200     </network>
    201 </RSpec>
    202 }}}
    203 
    204 
    205 '''Wisconsin MyPLC Compute Resources RSpec'''
     175        URN: unspecified_AM_URN
     176        URL: http://myplc.gpolab.bbn.com:12346/
     177 -->
     178<rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2"
     179        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     180        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
     181        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     182        xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
     183        http://www.protogeni.net/resources/rspec/2/request.xsd"> 
     184   <node component_id="urn:publicid:IDN+plc:gpolab:gpolab+node+navis.gpolab.bbn.com"
     185        component_manager_id="urn:publicid:IDN+plc:gpolab+authority+am"
     186        component_name="navis.gpolab.bbn.com" client_id="mypc0" exclusive="false">
     187        <sliver_type name="plab-vnode">
     188        </sliver_type>
     189    </node>   
     190</rspec>
     191}}}
     192
     193''' Clemson MyPLC Compute Resources RSpec'''
    206194{{{
    207195#!xml
    208196<?xml version="1.0" ?>
    209197<!-- Resources at AM:
    210         URL: https://wings-openflow-1.wail.wisc.edu:12346/
    211 -->
    212 <RSpec type="SFA"> 
    213     <network name="plc">   
    214         <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-2.wail.wisc.edu"
    215               component_manager_id="urn:publicid:IDN+plc+authority+sa"
    216                 node_id="n9" site_id="urn:publicid:IDN+plc:wisc+authority+sa">   
    217             <hostname>        wings-openflow-2.wail.wisc.edu      </hostname>   
    218         </node>   
    219     </network> 
    220 </RSpec>
     198        URN: unspecified_AM_URN
     199        URL: http://myplc.gpolab.bbn.com:12346/
     200 -->
     201<rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2"
     202        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     203        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
     204        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     205        xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
     206        http://www.protogeni.net/resources/rspec/2/request.xsd"> 
     207    <node component_id="urn:publicid:IDN+plc:cu+node+planetlab4.clemson.edu"
     208        component_manager_id="urn:publicid:IDN+plc+authority+am"
     209        component_name="planetlab4.clemson.edu" client_id="planetlab4" exclusive="false">
     210        <sliver_type name="plab-vnode">
     211        </sliver_type>
     212    </node>   
     213</rspec>
     214}}}
     215
     216
     217'''Wisconsin MyPLC Compute Resources RSpec'''
     218{{{
     219#!xml
     220<?xml version="1.0" ?>
     221<!-- Resources at AM:
     222        URN: unspecified_AM_URN
     223        URL: http://myplc.gpolab.bbn.com:12346/
     224 -->
     225<rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2"
     226        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     227        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
     228        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     229        xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
     230        http://www.protogeni.net/resources/rspec/2/request.xsd"> 
     231    <node component_id="urn:publicid:IDN+plc:wisc+node+wings-openflow-1.wail.wisc.edu"
     232        component_manager_id="urn:publicid:IDN+plc+authority+am"
     233        component_name="wings-openflow-1.wail.wisc.edu" exclusive="false">
     234        <sliver_type name="plab-vnode">
     235        </sliver_type>
     236    </node>
     237</rspec>
    221238}}}
    222239
     
    281298
    282299Now we have all the site specific information needed to define the BBN OF resource request RSpec. The syntax for each of these RSpec items can be "borrowed" from the listresources associated to each DPID. 
    283 
    284300
    285301These are the RSpec lines that define the ports on habanero:
     
    369385}}}
    370386
    371 In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment. Following is the packet filter definitions for Clemson:
     387In addition packet filters must defined to allow traffic for the IP subnet range reserved for the experiment. Following is the packet filter definitions for Clemson:
    372388{{{
    373389   <openflow:match>
     
    421437
    422438
    423 In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment. Following is the packet filter definition for Wisconsin !OpenFlow resources:
     439In addition packet filters are defined to allow traffic for the IP subnet range reserved for the experiment. Following is the packet filter definition for the Wisconsin !OpenFlow resources:
    424440{{{
    425441    <openflow:match>