1. 27 Aug, 2007 4 commits
  2. 24 Aug, 2007 4 commits
    • Leigh B. Stoller's avatar
      Both blind and dumb, thats me! · 8d12cd58
      Leigh B. Stoller authored
      8d12cd58
    • Mike Hibler's avatar
      First crack at limiting the node types assigned to new images. · fff92262
      Mike Hibler authored
      Currently we declare the valid types for an image to be those that are of
      class "pc" and for which we have at least one node in the testbed.
      
      With this change, when an image is created as a snapshot from an existing
      node, we look at the partition info for the existing image to further
      restrict the types that the derived image will work on.
      
      This will prevent images derived from old images like RHL90 or FBSD410
      from getting newer node types such as pc745d as a valid type.
      
      One problem with the current solution is that, we don't know til the form
      is submitted once, what node you are snapshot'ing, so the first time a
      user submits the form, it is almost certain to come back with an error.
      
      Further, they have no choice but to uncheck the offending types.  If part
      of their customization was to add support for a new node type...too bad,
      ya' can't add it!  There are numerous ways to fix this, all of which exceed
      my Friday afternoon mad hacking skilz.
      fff92262
    • Mike Hibler's avatar
      Minor nits. The most important: when selecting eligible node types from the · c112aeb4
      Mike Hibler authored
      DB, only select those for which a node of role 'testnode' exist.  This will
      eliminate the pc1500, where we only have a couple of tipservers of that type.
      c112aeb4
    • Leigh B. Stoller's avatar
      Remove unecessary taint check. Add a check to make sure the filename · 62dc6112
      Leigh B. Stoller authored
      is not a directory.
      62dc6112
  3. 23 Aug, 2007 5 commits
  4. 22 Aug, 2007 1 commit
  5. 21 Aug, 2007 5 commits
    • Mike Hibler's avatar
      Minor tweaks · c8ddab89
      Mike Hibler authored
      c8ddab89
    • 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
    • Mike Hibler's avatar
      Fix an obvious merge error (duplicate code) · 6f998011
      Mike Hibler authored
      6f998011
    • Mike Hibler's avatar
      Update diagram and text · c31fc987
      Mike Hibler authored
      c31fc987
    • Robert Ricci's avatar
  6. 20 Aug, 2007 1 commit
  7. 17 Aug, 2007 10 commits
    • Robert Ricci's avatar
    • Robert Ricci's avatar
      Improve support for link types: · c8455019
      Robert Ricci authored
      Add functions for checking for wireless and subtypes
      Get the proper link type into the top file in many places we had
        harcoded "ethernet"
      c8455019
    • Leigh B. Stoller's avatar
      Minor regex fix. · 37503283
      Leigh B. Stoller authored
      37503283
    • Pramod R Sanaga's avatar
      A couple of bug fixes to the code creating equivalence classes. Now warning are · b8bd80de
      Pramod R Sanaga authored
      printed out to indicates paths which do not obey the transitive property.
      b8bd80de
    • Leigh B. Stoller's avatar
      A set of changes for CMU widearea nodes. Basically, this cleans up and · 6569a40b
      Leigh B. Stoller authored
      integrates some of the early RON support, adding a fake jail setup that
      does a lot of what happens inside a jail, but without the actual jail.
      Remains to be seen how well this is going to work out.
      6569a40b
    • Leigh B. Stoller's avatar
      Merge in support for widearea booting. · 42ceca6e
      Leigh B. Stoller authored
      * Added the widearea node checkin stuff.
      
      * Wrap up bootinfo in a subroutine that uses tmcd bootwhat on widearea nodes.
      42ceca6e
    • Leigh B. Stoller's avatar
      Make sure we write out the data files to /var/emulab/boot even when · 44f8c8a5
      Leigh B. Stoller authored
      no hostname. Useful in the widearea where dynamic DHCP might not provide
      a hostname.
      44f8c8a5
    • Leigh B. Stoller's avatar
      Widearea support. · ea2cca4b
      Leigh B. Stoller authored
      * Add a bootwhat command that can be used instead of the bootinfo
        protocol, which is not appropriate for widearea cause its UDP. We
        lose the ability to have nodes "pxewait", but that is not actually
        necessary for widearea nodes since they are always allocated and up.
      
        Rather then duplicate code, I reorganized the bootinfo code so that
        I can link in the guts of it. There is some hackery to deal with the
        events that bootinfo sends, but so be it.
      
      * Initial support for setting up accounts for the CMU widearea nodes,
        adding yet another way to specify accounts for a node. In this case,
        its a new node_type_attributes slot called "project_accounts" that
        is a comma separated list of group idx's. This is just a temporary
        measure to make sure that accounts are always set up on the nodes,
        the way they are for RON nodes. This will all need to change since
        we want to also create accounts on the fly for people creating
        experiments using the virtual nodes on each widearea node, but I
        have not figured that part out yet.
      ea2cca4b
    • Leigh B. Stoller's avatar
      New widearea node checkin stuff for CMU. This stuff is quite a bit · f3f0fa98
      Leigh B. Stoller authored
      different then the original widearea code. Simpler, less dynamic.
      
      First off, the wanodecreate script creates a new widearea_nodeinfo
      entry.  These are nodes that will later checkin and be created as a
      real node.  The input is a little xml file that you can use to specify
      the stuff in the table entry (city, state, zip, etc). You can also
      provide a privkey (no more then 64 chars), or one will be generated
      for you.  For each one of these, create a Dongle Boot and stash the
      privkey as /etc/emulab/emulab-privkey on the dongle. You do not assign
      the IP address; the node will tell us that when it checks in.
      
      A node checks in like this:
      
      	https://$bossname/wanodecheckin.php?IP=$IP&privkey=$privkey
                     &hostname=$hostname
      
      The web page is simply a stub that makes sure the arguments don't have
      any illegal characters, and then passes off to the backend.
      
      The backend script checks the privkey and finds the widearea_nodeinfo.
      The first time the node checks in, the node is created (db/Node.pm)
      (nodes table, interfaces table, etc), and the node is moved to hwdown.
      Subsequent checkins watch for changes to the IP or hostname, and issue
      named_setup calls as needed.
      f3f0fa98
    • Pramod R Sanaga's avatar
      Code to implement the "Wavelet based approach to shared congestion detection". It produces · 0f1f37ee
      Pramod R Sanaga authored
      all the delay agent events correctly - some more work is needed for clustering the paths
      properly when transitive property of bottleneck links is violated.
      0f1f37ee
  8. 16 Aug, 2007 10 commits