• 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
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
be_user.c Loading commit data...
be_user.h Loading commit data...
log.c Loading commit data...
log.h Loading commit data...
popenf.c Loading commit data...
popenf.h Loading commit data...
systemf.c Loading commit data...
systemf.h Loading commit data...
tbdb.c Loading commit data...
tbdb.h Loading commit data...
tbdefs.c Loading commit data...
tbdefs.h Loading commit data...
tmcc.c Loading commit data...
tmcc.h Loading commit data...