Changes between Version 67 and Version 68 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/18/12 15:10:28 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v67 v68  
    624624The output for running each of the above commands is attached [http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/ExperimentExample-OF-FOAM/openflow-foam-example.txt here].
    625625
    626 
    627 Remember, to renew the slice and slivers reservation time, as the default time is 8 hours. Following are the command to extend the reservation for the resources:
     626Remember, to renew the slice and slivers reservation time, as the default time is 8 hours. You may find out the current expiration time by using sliverstatus with the Omni tools. Following are the command to extend the reservation for the resources:
    628627{{{
    629628 $ ./src/omni.py renewslice  3sites-OF-Exp 2012-04-27
     
    648647[[Image(FOAM-sliver-approve.jpg)]] 
    649648
    650 In the scenario captured in this page, there are 4 notification one from each of the FOAM aggregates (BBN, Clemson, NLR and Wisconsin.
     649In the scenario captured in this page, there are 4 sliver approval notifications, one from each of the FOAM aggregates (BBN, Clemson, NLR and Wisconsin).
    651650
    652651== Run Experiment ==
    653652
    654 Once your flowspace has been opted in you should be able to exchange traffic over the approved flows between the hosts that have been allocated to your experiment.  Simply SSH into one of the hosts and ping any of the other hosts to verify connectivity. If you have connectivity between the allocated hosts, you may start your experiment, if you do not have connectivity, contact [mailto:help@geni.net].
    655 
    656 Remember to check the expiration time for the flowspace and for each aggregate with the Omni ''sliverstatus'' and to ''renewslice'' and ''renewsliver'' to expand the duration of the resource allocation to match your experiment needs.  For an example on how to check ''sliverstatus'' and ''renewslice'' see the [wiki:GENIExperimenter/ExperimentExample#Checkingsliverresourcestatus checking status] section of the other non-OF experiment.
     653Once your flowspace has been opted in you should be able login to each of the MyPLC hosts and exchange traffic over the approved flows between the hosts that have been allocated to your experiment.  Simply SSH into one of the hosts and ping any of the other hosts to verify connectivity. If you have connectivity between the allocated hosts, you may start your experiment, if you do not have connectivity, contact [mailto:help@geni.net].
     654
     655=== Login to a MyPLC host ===
     656
     657Following are example Omni ''sliverstatus'' commands to help determine how to login to the reserved MyPLC hosts. 
     658
     659
     660First, we determine how to login to the Clemson MyPLC host:
     661{{{
     662$ ./src/omni.py -a http://myplc.clemson.edu:12346/ sliverstatus 3sites-OF-Exp
     663INFO:omni:Loading config file omni_config
     664INFO:omni:Using control framework pgeni
     665INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp expires on 2012-04-27 00:00:00 UTC
     666INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp:
     667INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp at AM URL http://myplc.clemson.edu:12346/
     668INFO:omni:{'geni_resources': [{'geni_error': '',
     669                     'geni_status': 'ready',
     670                     'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp:81:1:0',
     671                     'pl_boot_state': 'boot',
     672                     'pl_hostname': 'planetlab4.clemson.edu',
     673                     'pl_last_contact': 'Wed Apr 18 11:56:45 2012'}],
     674 'geni_status': 'ready',
     675 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp',
     676 'pl_expires': 'Fri Apr 27 00:00:00 2012',
     677 'pl_login': 'pgenigpolabbbncom_3sitesOFExp'}
     678INFO:omni: ------------------------------------------------------------
     679INFO:omni: Completed sliverstatus:
     680
     681  Options as run:
     682                aggregate: http://myplc.clemson.edu:12346/
     683                framework: pgeni
     684                native: True
     685
     686  Args: sliverstatus 3sites-OF-Exp
     687
     688  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp expires on 2012-04-27 00:00:00 UTC
     689Returned status of slivers on 1 of 1 possible aggregates.
     690INFO:omni: ============================================================
     691}}}
     692
     693From the output, we use the ''pl_login'' value ''pgenigpolabbbncom_3sitesOFExp'' to login to the ''pl_hostname'' named ''planetlab4.clemson.edu'':
     694{{{
     695$ ssh pgenigpolabbbncom_3sitesOFExp@planetlab4.clemson.edu
     696Last login: Wed Apr 18 14:27:08 2012 from sendaria.gpolab.bbn.com
     697[pgenigpolabbbncom_3sitesOFExp@planetlab4 ~]$
     698}}}
     699
     700Second, we determine how to login to the BBN MyPLC host by issuing the sliver status for the BBN MyPLC Aggregate:
     701{{{
     702$ ./src/omni.py -a http://myplc.gpolab.bbn.com:12346/ sliverstatus 3sites-OF-Exp
     703
     704}}}
     705
     706From the output, again we use the ''pl_login'' value ''pgenigpolabbbncom_3sitesOFExp'' to login to the ''pl_hostname'' named ''navis.gpolab.bbn.com'':
     707{{{
     708
     709
    657710
    658711== Release Resources ==