1. 22 Mar, 2013 1 commit
  2. 12 Feb, 2013 1 commit
  3. 29 Jan, 2013 3 commits
    • Leigh B Stoller's avatar
      Add public_url to CM Sliverstatus() return blob, and pg_public_url to · cb95c1d7
      Leigh B Stoller authored
      AM version of same.
      cb95c1d7
    • Leigh B Stoller's avatar
      Add public_url to sliver resolve. · c1c943ba
      Leigh B Stoller authored
      c1c943ba
    • Leigh B Stoller's avatar
      Add a "monitor" process to start/restart sliver to watch nodes. · 0c749af4
      Leigh B Stoller authored
      This is very similar to what Emulab does on the swapin path for
      normal experiments; wait and watch the nodes to see which ones
      fail or otherwise timeout. Up till now, we did not do this on the
      PG path, and so failed nodes were never signaled, and the slice
      was left in a changing state forever. This also allows us to capture
      the node bootlogs and convert them to logfiles that we can associate
      with the slice on the showslice web page.
      
      Details: start/restart forks a child (WrapperFork()) and allows
      the parent to return to the client. The slice is unlocked so that
      the client can call SliverStatus(), etc. But the client cannot
      do anything that actually changes the sliver (update, stop, etc)
      until the monitor finishes (or times out on its own). The lone
      exception is Deleteslice(), which will asynchronously kill the
      monitor and then terminate the slice. Ditto the command line
      script "cleanupslice".
      
      We will probably need to add another way to allow the client to
      terminate the monitor early, but have not decided where yet.
      0c749af4
  4. 28 Jan, 2013 1 commit
  5. 23 Jan, 2013 1 commit
  6. 22 Jan, 2013 1 commit
  7. 18 Jan, 2013 2 commits
  8. 17 Jan, 2013 1 commit
  9. 14 Jan, 2013 1 commit
  10. 29 Nov, 2012 1 commit
  11. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      
      This commit is intended to clear up that confusion.
      
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      (AGPLv3).
      
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      license.
      
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
      (LGPL).
      6df609a9
  12. 04 Sep, 2012 1 commit
  13. 31 Jul, 2012 1 commit
  14. 13 Jul, 2012 1 commit
    • Leigh B Stoller's avatar
      ProtoGeni stitching and vlan tag reservation changes. · 9b7f535e
      Leigh B Stoller authored
      * Get rid of all use of component_hops; this was our original syntax
        before the stitching path stuff was nailed down.
      
      * Allow a vlan tag to be requested in the link statement:
      
          <link client_id="link0" vlantag="765">
            <interface_ref client_id="geni1:if0" />
        
      * Support vlan tag requests in the stiching path part:
      
          <vlanRangeAvailability>765</vlanRangeAvailability>
          <suggestedVLANRange>765</suggestedVLANRange>
      
        This is the only support at the moment; none of the range stuff is
        done. Further, if you really want things to work, make sure all the
        hops have the same vlan tag cause we don't do vlan translation
        internally or at our edge points.
      
      * Utah only change in the mapper; when trying to use a shared vlan
        whose tag is great then 1000, demand the "highvlan" feature on the
        nodes in the lan. Only some of our switches to high numbered vlans.
      9b7f535e
  15. 29 Jun, 2012 1 commit
  16. 21 Jun, 2012 1 commit
  17. 12 Jun, 2012 1 commit
    • Leigh B Stoller's avatar
      Minor change to credential verification and load. · f3310749
      Leigh B Stoller authored
      Move the expiration test into verifygenicred. Change the invocation to
      capture the output so that we can say something useful in the error
      response, instead of what we do now which is just tell the user there
      is an error.
      f3310749
  18. 11 Jun, 2012 1 commit
  19. 07 Jun, 2012 1 commit
    • Leigh B Stoller's avatar
      Add new API call CreateImage; create/snapshot a geni sliver node. · 750be519
      Leigh B Stoller authored
      This call allows a geni user to create a sliver, customise the node,
      and then take a snapshot (possibly creating a new image descriptor)
      without having to use the Emulab web interface. The API looks like:
      
        int CreateImage(slice_urn, sliver_urn, imagename, credentials[]);
      
      The slice must be unlocked and the sliver in the ready state. Once
      the operation starts, the slice is locked until the backend finishes.
      This is something that I might revisit later, but this was the easiest
      approach that ensures consistency. 
      
      The imagename is looked up in the current project the node is attached
      to. If it does not exists, create it. Then snapshot the node. You can
      call this again of course, to take a new snapshot, without having to
      provide a new imagename.
      
      The image file is written to the images directory of the project,
      which is available to the node via /proj, so the user can get to it
      (since the user might not have a local account).
      750be519
  20. 09 Mar, 2012 1 commit
  21. 09 Feb, 2012 1 commit
  22. 08 Feb, 2012 1 commit
  23. 30 Jan, 2012 1 commit
  24. 11 Nov, 2011 1 commit
  25. 01 Nov, 2011 1 commit
  26. 25 Oct, 2011 1 commit
  27. 07 Oct, 2011 1 commit
  28. 06 Sep, 2011 2 commits
  29. 30 Aug, 2011 1 commit
    • Leigh B Stoller's avatar
      ProtoGENI slivers are now created in separate projects instead of a · fedd45bd
      Leigh B Stoller authored
      single GeniSlices project. There two forms to this;
      
      1. If the user is actually a local user, create the sliver in the
         User's "default" project. Later this will change to use use sub
         authorities, when we can generate and read those credentials.
      
      2. If the user is form another SA, create a new non-local project
         named by the SA's domain, and optionally a subgroup named by the
         project sub authority (see above comment).
      
      At the same time, add proper resource usage accounting. In other
      words, Show History on the web page works for protogeni experiments
      and projects.
      fedd45bd
  30. 29 Aug, 2011 1 commit
    • Leigh B Stoller's avatar
      Export a very Emulab specific function; InjectEvent. This is a gateway · 890c180b
      Leigh B Stoller authored
      into the per-experiment event scheduler for the experiment underneath
      the sliver. An example of how to use this is the new test script
      called injectevent.py, which you run like:
      
      users> injectevent.py now geni1-program start COMMAND='/bin/ls >& /tmp/foo'
      
      which injects an event for the program agent on your geni1 node.
      
      Note that you have to contact the specfic CM for the node; if you have
      multiple nodes spread across several CMs, you have to call this method
      at the CM where the node lives.
      890c180b
  31. 22 Jul, 2011 1 commit
  32. 12 Jul, 2011 1 commit
    • Leigh B Stoller's avatar
      Add errorlog text field to aggregates and slivers so that non-node · 320c7d8a
      Leigh B Stoller authored
      slivers can store/return error info to the user in sliverstatus.
      This include the top level aggregate for a slice.
      
      Added an 'error' attribute to the top level sliverstatus return hash,
      to return this error.
      
      Put start/restart sliver into the background so that it runs async,
      just like it does when invoked from the CreateSliver() path. This is
      because start/restart can take an arbitrary length of time, and having
      the RPC sit in hold for that long is not an ideal interface. Users can
      get all the info they need from the sliverstatus call.
      
      Change Start/Restart so that all of the error message we were printing
      to STDERR for the mail log, also go back to the user in the toplevel
      error for the aggregate.
      320c7d8a
  33. 08 Jul, 2011 1 commit
  34. 16 Jun, 2011 1 commit
  35. 13 May, 2011 1 commit
  36. 11 May, 2011 1 commit