1. 30 Aug, 2007 1 commit
  2. 29 Aug, 2007 3 commits
  3. 27 Aug, 2007 1 commit
  4. 24 Aug, 2007 1 commit
  5. 23 Aug, 2007 2 commits
  6. 22 Aug, 2007 1 commit
  7. 21 Aug, 2007 1 commit
    • Leigh B. Stoller's avatar
      Another round of widearea node hacking for CMU. These changes add · 99346dc0
      Leigh B. Stoller authored
      widearea reloading support.
      
      * New slot in the images table to store an access key which remote
        sites must provide in order to download an image (via https).
      
      * tmcd returns a different kind of ADDRESS field from doloadinfo.
        Instead of the multicast stuff, return a URL that points to boss'
        web server. The URL is of the form:
      
         https://www.myemulab.net/spewimage.php?imageid=10013&access_key=abcdef
      
        which as you can see is fully specified; the client does not need
        to know anything else.
      
      * New webpage and backend scripts appropriately called "spewimage"
        which also includes support for the http HEAD request (from wget) to
        avoid downloading images that are already on the node. I just
        learned about this HEAD request stuff today ... but otherwise these
        operate as expected, spewing the image if the access key is provided.
      
      * Changes to rc.frisbee to deal with remote loading. In addition to
        URL support, I also added support for simple paths, the intent being
        that we will probably distribute images offline (say, at night) so
        that when a node reboots it doesn't actually have to wait 60 minutes
        for an image to download. I have not added any server side support
        for this yet though. Maybe later this week.
      
      * Other bits and pieces and fixes to make this work.
      99346dc0
  8. 17 Aug, 2007 2 commits
  9. 16 Aug, 2007 4 commits
  10. 15 Aug, 2007 1 commit
  11. 14 Aug, 2007 1 commit
  12. 13 Aug, 2007 1 commit
  13. 06 Aug, 2007 3 commits
  14. 03 Aug, 2007 1 commit
  15. 02 Aug, 2007 2 commits
  16. 31 Jul, 2007 1 commit
  17. 30 Jul, 2007 3 commits
  18. 27 Jul, 2007 3 commits
    • Leigh B. Stoller's avatar
      Terriblly bogus hacks to deal with symlinks when doing the cvs import · b2bafa07
      Leigh B. Stoller authored
      of the record. Basically, record them in the XML file, then remove
      them before the import, and restore them after. Did I mention that
      this was totally bogus?
      b2bafa07
    • Leigh B. Stoller's avatar
      Some fixes to deal with older templates that do not have a CVS repo. · f2888e91
      Leigh B. Stoller authored
      On modify, create the repo, but add checks to make sure that we do not
      bother with operations on branches that do not exist cause they
      predate the repo creation. This allows you to move forward after a
      modifying an existing template. Also add checks for instantiating a
      old template that has no repo at all cause it has not been modified since
      adding the repo support.
      
      A few other fixes to make sure that instances are cleaned up after errors.
      f2888e91
    • Leigh B. Stoller's avatar
      * Add new tables to store NS files (and any files they source) in the · f8333ef2
      Leigh B. Stoller authored
        DB alongside the resource records. Previously, we stored only the
        nsfiles for current experiments, and purged them when the experiment
        was terminated. The new approach saves them forever using the resource
        record ID. Note that we do not store copies of NS files, but reference
        them indirectly instead so that we can MD5 them and avoid the dups.
      
        I put a "compressed" bit into the table cause at some point we will
        start compressing the data before storing them into the DB. Or maybe
        we bag this and start using GFS!
      
        Also note that this addresses the problem of losing the NS file
        history when using swapmod, since the NS file is overwritten.
      
      * Add a pmapping table stores the nodes (and their types) used by an
        experiment. This data is also saved forever, alongside the resource
        records, so that we can more accurately replay an experiment. As Rob
        points out, the node names can also be used in conjunction with the
        ptop files that are saved, to get a 100% accurate remap of resources.
      f8333ef2
  19. 25 Jul, 2007 1 commit
  20. 19 Jul, 2007 1 commit
  21. 18 Jul, 2007 1 commit
  22. 17 Jul, 2007 1 commit
    • Leigh B. Stoller's avatar
      Add some sanity checking to make sure that the user is tagging the · 4c278840
      Leigh B. Stoller authored
      highest revision on the branch (or trunk) of the magic .template file,
      since doing otherwise would seem to indicate an inconsistency in
      what the user is doing. Why? Templates are modified via a tag
      operation of the .template file, but splitting off can only be done
      via a branch operation. Subsequent mods after a branch have to happen
      along a straight line.
      
      Also allow for tag moving to initiate a template modify since the
      above implied error can be corrected by doing a cvs update, and then a
      retag with the -F option to move the tag.
      4c278840
  23. 16 Jul, 2007 4 commits
    • David Johnson's avatar
      Support for accessing the v4 NM via a nm-controller slice account. Now, · 88e61ae3
      David Johnson authored
      for each delegated slice we create, we set the 'delegations' attribute to
      'utah_nmcontrol', the name of our nm-controller slice that has permissions
      to talk to the NM.
      
      Also, a few other fixes.
      88e61ae3
    • Leigh B. Stoller's avatar
      Generate a info.xml file in the records/run directory that describes · 055b8769
      Leigh B. Stoller authored
      the run. Includes the bindings for the run and the metadata name/value
      pairs. This is the same data that is dumped by template export, so
      at this point template_export has been completely superceded by the
      CVS repo.
      055b8769
    • David Johnson's avatar
      Several things in this commit: · 3bbd843b
      David Johnson authored
        * Prior to this commit, libplab depended on db state to create slivers
          and slices.  Now it can be done using the regular command line tools
          without the metadata in the db.  This makes development and debugging
          much easier and allows us to use the command-line tools even if state has
          been cleared out of the db (i.e., for sliver garbage collection).
        * Add support for sliver start/stop/restart via the v4 NM.
        * Some support for sliver garbage collection.
        * Various other improvements and cleanup.
      3bbd843b
    • Leigh B. Stoller's avatar
      Remove debugging code. · 4a50330d
      Leigh B. Stoller authored
      4a50330d