Changes between Version 5 and Version 6 of HowTo/ShareALan


Ignore:
Timestamp:
11/08/13 18:14:52 (10 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ShareALan

    v5 v6  
    2727== Example ==
    2828
    29 A minimal RSpec to use for reserving resources is:
     29 1. A minimal RSpec to use for reserving resources is:
    3030{{{
    3131#!xml
     
    5858In the above, we have chosen a xen VM (bound to pc423) and a openVZ container to force the LAN to be non-trivial.
    5959
     60 2. Use `omni` to run `performoperationalaction`(a.k.a. `poa`) on your slice.
    6061
     62The general command is:
     63{{{
     64omni.py -V 3 -a pg-utah3 poa SLICE_NAME geni_sharelan --optionsfile lan_options.json
     65}}}
     66
     67The contents of lan_options should be:
     68{{{
     69{
     70 "geni_sharelan_lanname": "LAN_CLIENT_ID",
     71 "geni_sharelan_token": "STRING_IDENTIFYING_SHARED_LAN"
     72}
     73}}}
     74
     75}}}
     76For example:
     77{{{
     78{
     79 "geni_sharelan_lanname": "lan0",
     80 "geni_sharelan_token": "janesSpecialLan"
     81}
     82}}}
     83
     84Example output of running `performoperationalaction`:
     85{{{
     86$ omni.py -a pg-utah3 poa sharedlan geni_sharelan --optionsfile ../../SharedLan/lan_options.json  -V 3
     8713:44:25 INFO     omni: Loading agg_nick_cache file '/Users/sedwards/.gcf/agg_nick_cache'
     8813:44:25 INFO     omni: Loading config file /Users/sedwards/.gcf/omni_config
     8913:44:25 INFO     omni: Using control framework portal
     9013:44:25 INFO     omni: Substituting AM nickname pg-utah3 with URL https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0, URN urn:publicid:IDN+emulab.net+authority+cm
     9113:44:26 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC
     9213:44:26 INFO     omni: PerformOperationalAction geni_sharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan at https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0
     9313:44:39 INFO     omni:  (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=7e38b4a9a56d13534834fdee4f64d3d0)
     9413:44:39 INFO     omni: PerformOperationalAction result for geni_sharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan at AM URL https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0
     9513:44:39 INFO     omni: 0
     9613:44:39 INFO     omni:  ------------------------------------------------------
     9713:44:39 INFO     omni:  Completed poa:
     98Args: poa sharedlan geni_sharelan
     99
     100 Result Summary: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC
     101PerformOperationalAction geni_sharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan was successful.
     102
     10313:44:39 INFO     omni:  ======================================================
     104}}}
     105