Changes between Version 37 and Version 38 of GIR3.2_EnterpriseGENI


Ignore:
Timestamp:
09/29/11 14:27:24 (13 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIR3.2_EnterpriseGENI

    v37 v38  
    8585   $ sudo -u www-data foamctl init-db
    8686   Certificates Directory [/opt/foam/etc/gcf-ca-certs]:
    87    Site Tag (e.g. Stanford, BBN, etc.): BBN
     87   Site Tag [mallorea.gpolab.bbn.com]:
    8888   FlowVisor Hostname: mallorea.gpolab.bbn.com
    8989   FlowVisor XMLRPC Port [8080]:
     
    108108}}}
    109109
    110 
     110Once the FOAM services are started generated a simple RSPEC using instructions from the [https://openflow.stanford.edu/display/FOAM/rspec Example RSPEC] and [http://groups.geni.net/geni/wiki/HowTo/ConvertExpedientToFoamRspecs Convert Expedient to FOAM RSPEC] page:
     111{{{
     112<?xml version="1.1" encoding="UTF-8"?>
     113<rspec  xmlns="http://www.protogeni.net/resources/rspec/2"
     114        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     115        xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/2"
     116        xs:schemaLocation="http://www.protogeni.net/resources/rspec/2
     117              http://www.protogeni.net/resources/rspec/2/request.xsd
     118              http://www.geni.net/resources/rspec/ext/openflow/2
     119              http://www.geni.net/resources/rspec/ext/openflow/2/of-resv.xsd"
     120    type="request">
     121
     122    <openflow:sliver description="Luisa sliver description"
     123                     email="lnevers@bbn.com"
     124                     ref="http://www.bbn.com">
     125
     126        <openflow:controller url="tcp:mallorea.gpolab.bbn.com:9933" type="primary" />
     127
     128
     129        <openflow:group name="mygroup">
     130
     131            <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:mallorea.gpolab.bbn.com+datapath:04:4d:00:12:e2:b8:a5:d0" component_manager_id="urn:publi
     132cid:IDN+openflow:foam:mallorea.gpolab.bbn.com+authority+am" >
     133                <openflow:port name="GBE0/22" num="22"/>
     134  </openflow:datapath>
     135
     136        </openflow:group>
     137
     138        <openflow:match>
     139              <openflow:use-group name="mygroup" />
     140              <openflow:packet>
     141                     <openflow:dl_dst value="00:0c:29:9a:28:00,00:0c:29:1f:75:b0"/>
     142              </openflow:packet>
     143        </openflow:match>
     144
     145        <openflow:match>
     146              <openflow:use-group name="mygroup" />
     147              <openflow:packet>
     148                 <openflow:dl_src value="00:0c:29:9a:28:00,00:0c:29:1f:75:b0"/>
     149              </openflow:packet>
     150       </openflow:match>
     151
     152    </openflow:sliver>
     153</rspec>
     154}}}
     155
     156Using omni tools created a slice and got OF resources:
     157{{{
     158$  ./src/omni.py -n -a  https://mallorea.gpolab.bbn.com:3626/foam/gapi createslice foamslice1
     159INFO:omni:Loading config file omni_config
     160INFO:omni:Using control framework pgeni
     161INFO:omni:Created slice with Name foamslice1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1, Expiration 2011-09-30 00:26:18
     162INFO:omni: ------------------------------------------------------------
     163INFO:omni: Completed createslice:
     164
     165  Options as run:
     166                aggregate: https://mallorea.gpolab.bbn.com:3626/foam/gapi
     167                framework: pgeni
     168                native: True
     169
     170  Args: createslice foamslice1
     171
     172  Result Summary: Created slice with Name foamslice1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1, Expiration 2011-09-30 00:26:18
     173 
     174INFO:omni: ============================================================
     175
     176 ./src/omni.py -n -a  https://mallorea.gpolab.bbn.com:3626/foam/gapi createsliver foamslice1 FOAM.rspec     
     177INFO:omni:Loading config file omni_config
     178INFO:omni:Using control framework pgeni
     179INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1 expires within 1 day on 2011-09-30 00:26:18 UTC
     180INFO:omni:Creating sliver(s) from rspec file FOAM.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1
     181INFO:omni:Asked https://mallorea.gpolab.bbn.com:3626/foam/gapi to reserve resources. Result:
     182INFO:omni:<?xml version="1.0" ?>
     183INFO:omni:<!-- Reserved resources for:
     184        Slice: foamslice1
     185        At AM:
     186        URL: https://mallorea.gpolab.bbn.com:3626/foam/gapi
     187 -->
     188INFO:omni:
     189<rspec type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://www.protogeni.net/resources/rspec/2               http://www.protogeni.net/resources/rspec/2/request.xsd               http://www.geni.net/resources/rspec/ext/openflow/2               http://www.geni.net/resources/rspec/ext/openflow/2/of-resv.xsd"> 
     190
     191      <openflow:sliver description="Luisa sliver description" email="lnevers@bbn.com" ref="http://www.bbn.com">   
     192
     193            <openflow:controller type="primary" url="tcp:mallorea.gpolab.bbn.com:9933"/>   
     194
     195
     196            <openflow:group name="mygroup">     
     197
     198                  <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:mallorea.gpolab.bbn.com+datapath:04:4d:00:12:e2:b8:a5:d0" component_manager_id="urn:publicid:IDN+openflow:foam:mallorea.gpolab.bbn.com+authority+am">         
     199                        <openflow:port name="GBE0/22" num="22"/>       
     200        </openflow:datapath>     
     201
     202            </openflow:group>   
     203
     204            <openflow:match>     
     205                    <openflow:use-group name="mygroup"/>     
     206                    <openflow:packet>       
     207                             <openflow:dl_dst value="00:0c:29:9a:28:00,00:0c:29:1f:75:b0"/>       
     208                    </openflow:packet>     
     209            </openflow:match>   
     210
     211            <openflow:match>     
     212                    <openflow:use-group name="mygroup"/>     
     213                    <openflow:packet>       
     214                         <openflow:dl_src value="00:0c:29:9a:28:00,00:0c:29:1f:75:b0"/>         
     215                    </openflow:packet>     
     216           </openflow:match>   
     217
     218      </openflow:sliver> 
     219</rspec>
     220INFO:omni: ------------------------------------------------------------
     221INFO:omni: Completed createsliver:
     222
     223  Options as run:
     224                aggregate: https://mallorea.gpolab.bbn.com:3626/foam/gapi
     225                framework: pgeni
     226                native: True
     227
     228  Args: createsliver foamslice1 FOAM.rspec
     229
     230  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1 expires within 1 day(s) on 2011-09-30 00:26:18 UTC
     231Reserved resources on https://mallorea.gpolab.bbn.com:3626/foam/gapi. 
     232INFO:omni: ============================================================
     233
     234}}}
    111235
    112236