Changes between Version 9 and Version 10 of HowTo/ShareALan


Ignore:
Timestamp:
11/08/13 18:21:01 (8 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ShareALan

    v9 v10  
    2525 5. As of November 8, this only works at ProtoGENI Utah.
    2626
    27 == Example ==
     27== Example of sharing a VLAN ==
    2828
    2929 1. A minimal RSpec to use for reserving resources is:
     
    103103 3. In a second slice, reserve resources containing a LAN and one or more compute nodes.  Configure the LAN to be a Shared VLAN with name matching `STRING_IDENTIFYING_SHARED_LAN` (in this case `janesSpecialLan`).  Also be sure to configure the IP addresses on these nodes in a way that makes sense with the IPs used in the first slice.
    104104 4. Test your setup by running `ping` between compute nodes in the different slices. 
     105
     106== Example of unsharing a VLAN ==
     107 1.  2. Use `omni` to run `performoperationalaction`(a.k.a. `poa`) on your slice.
     108
     109The general command is:
     110{{{
     111omni.py -V 3 -a pg-utah3 poa SLICE_NAME geni_unsharelan --optionsfile lan_options.json
     112}}}
     113
     114The contents of `lan_options.json` match what was used to share the LAn originally and should be in the form:
     115{{{
     116{
     117 "geni_sharelan_lanname": "LAN_CLIENT_ID",
     118 "geni_sharelan_token": "STRING_IDENTIFYING_SHARED_LAN"
     119}
     120}}}
     121For example:
     122{{{
     123{
     124 "geni_sharelan_lanname": "lan0",
     125 "geni_sharelan_token": "janesSpecialLan"
     126}
     127}}}
     128
     129Example output of running `performoperationalaction`:
     130{{{
     131$ omni.py -V 3 -a pg-utah3 poa sharedlan geni_unsharelan --optionsfile lan_options.json 
     13214:36:29 INFO     omni: Loading agg_nick_cache file '/Users/sedwards/.gcf/agg_nick_cache'
     13314:36:29 INFO     omni: Loading config file /Users/sedwards/.gcf/omni_config
     13414:36:29 INFO     omni: Using control framework portal
     13514:36:29 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
     13614:36:30 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC
     13714:36:30 INFO     omni: PerformOperationalAction geni_unsharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan at https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0
     13814:36:47 INFO     omni:  (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=5d4e618722b51f582a1052255f01dc35)
     13914:36:47 INFO     omni: PerformOperationalAction result for geni_unsharelan 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
     14014:36:47 INFO     omni: 0
     14114:36:47 INFO     omni:  ------------------------------------------------------
     14214:36:47 INFO     omni:  Completed poa:
     143Args: poa sharedlan geni_unsharelan
     144
     145 Result Summary: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC
     146PerformOperationalAction geni_unsharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan was successful.
     147
     14814:36:47 INFO     omni:  ======================================================
     149}}}