Changes between Version 23 and Version 24 of HelloGENI


Ignore:
Timestamp:
12/02/11 17:00:37 (13 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HelloGENI

    v23 v24  
    3737It is always a good measure to create a slice per experiment, so before we start reserving resources, we would need to create a slice for this experiment. If you have already setup your omni_config file, then follow these instructions for [http://groups.geni.net/geni/wiki/GENIExperimenter/ExperimentExample#Createaslice creating] and [http://groups.geni.net/geni/wiki/GENIExperimenter/ExperimentExample#Renewyourslice renewing] a slice. By default slices that are created with a ProtoGENI Clearing House, have an expiration time of 4 hours, that is why you need to renew it to a time that is sensible for your experiment.
    3838
    39 For the purpose of this example, using this [attachment:omni_config] file, created a slice named hellogeni_slice
    40 {{{
    41 > src/omni.py createslice hellogeni_slice
    42 > src/omni.py renewslice hellogeni_slice 20110630T18:00:00
     39For the purpose of this example, using this [attachment:omni_config] file, created a slice named hellogenislice
     40{{{
     41> src/omni.py createslice hellogenislice
     42> src/omni.py renewslice hellogenislice 20110630T18:00:00
    4343}}}
    4444
     
    7272From [wiki:GeniAggregate/ClemsonMyPlc this page], we get this aggregate's URL and using [attachment:myplc-clemson-hellogeni.rspec this rspec file], we can reserve a sliver in planetlab5:
    7373{{{
    74 src/omni.py createsliver -n -a https://myplc.clemson.edu:12346 -n hellogeni_slice myplc-clemson-hellogeni.rspec
     74src/omni.py createsliver -n -a https://myplc.clemson.edu:12346 -n hellogenislice myplc-clemson-hellogeni.rspec
    7575}}}
    7676The output should look like [attachment:myplc-clemson-hellogeni.out this].
     
    7878Use sliverstatus to figure out the login name :
    7979{{{
    80 >src/omni.py sliverstatus -n -a https://myplc.clemson.edu:12346 hellogeni_slice
     80>src/omni.py sliverstatus -n -a https://myplc.clemson.edu:12346 hellogenislice
    8181}}}
    8282
     
    8989Your sliver should be ready within 1 min. If after 5 min you are not able to login to the host, delete your sliver and recreate it. If the problem persists email to the support email given in the aggregate page.
    9090{{{
    91 src/omni.py deletesliver -n -a https://myplc.clemson.edu:12346 hellogeni_slice
     91src/omni.py deletesliver -n -a https://myplc.clemson.edu:12346 hellogenislice
    9292}}}
    9393
     
    105105From [wiki:GeniAggregate/GpoLabProtoGeni this page], we get this aggregate's URL and using [attachment:pg-bbn-hellogeni.rspec this rspec file], we can reserve pc11:
    106106{{{
    107 src/omni.py createsliver -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogeni_slice pg-bbn-hellogeni.rspec
     107src/omni.py createsliver -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogenislice pg-bbn-hellogeni.rspec
    108108}}}
    109109
     
    112112Then we can do sliverstatus to find out the status of the sliver
    113113{{{
    114 >src/omni.py sliverstatus -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogeni_slice
     114>src/omni.py sliverstatus -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogenislice
    115115}}}
    116116
     
    153153Based on the topology diagram above, at the GPO aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two GPO switches for ports 1, 47 of the first switch and ports 20 and 3 on the second. [attachment:openflow-bbn-hellogeni.rspec This] is an rspec that requests these resources. From GPO's aggregate page we can also get the AM URL.
    154154{{{
    155 src/omni.py createsliver -a https://tulum.gpolab.bbn.com:1443/openflow/gapi/ -n hellogeni_slice openflow-bbn-hellogeni.rspec
     155src/omni.py createsliver -a https://foam.gpolab.bbn.com:3626/foam/gapi/ -n hellogenislice openflow-bbn-hellogeni.rspec
    156156}}}
    157157
     
    161161Based on the topology diagram above, at the Clemson aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two clemson switch for ports 43 and 36. [attachment:openflow-clemson-hellogeni.rspec This] is an rspec that requests these resources. From Clemson's aggregate page we can also get the AM URL.
    162162{{{
    163 src/omni.py createsliver  -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogeni_slice openflow-clemson-hellogeni.rspec
     163src/omni.py createsliver  -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogenislice openflow-clemson-hellogeni.rspec
    164164}}}
    165165
     
    169169Based on the topology diagram above, at the Clemson aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two NLR switch for ports 25 and 26 on both. [attachment:openflow-nlr-hellogeni.rspec This] is an rspec that requests these resources. From NLR's aggregate page we can also get the AM URL.
    170170{{{
    171 src/omni.py createsliver -n -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogeni_slice openflow-nlr-hellogeni.rspec
     171src/omni.py createsliver -n -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogenislice openflow-nlr-hellogeni.rspec
    172172}}}
    173173
     
    261261For each aggregate delete the OpenFlow sliver :
    262262{{{
    263 src/omni.py deletesliver -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogeni_slice
    264 src/omni.py deletesliver -a https://tulum.gpolab.bbn.com:1443/openflow/gapi/ hellogeni_slice
    265 src/omni.py deletesliver -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogeni_slice
     263src/omni.py deletesliver -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogenislice
     264src/omni.py deletesliver -a https://foam.gpolab.bbn.com:3626/foam/gapi/ hellogenislice
     265src/omni.py deletesliver -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogenislice
    266266}}}
    267267
     
    288288Invoke the delete sliver command
    289289{{{
    290 src/omni.py deletesliver -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogeni_slice
    291 src/omni.py deletesliver -a https://myplc.clemson.edu:12346 hellogeni_slice
     290src/omni.py deletesliver -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogenislice
     291src/omni.py deletesliver -a https://myplc.clemson.edu:12346 hellogenislice
    292292}}}
    293293