1. 31 Oct, 2007 1 commit
  2. 30 Oct, 2007 1 commit
  3. 24 Oct, 2007 1 commit
  4. 23 Oct, 2007 1 commit
    • Russ Fish's avatar
      Change the delaycontrol page to call delay_config via XML. · 25855415
      Russ Fish authored
            www/delaycontrol.php3 - Convert the form into SPITFORM/submit/formfields.
                      Add a ChangeDelayConfig function to spit out XML to delay_config.
            account/delay_config.in - Add -X <xmlfile> in place of other command-line args.
            sql/database-fill.sql - Add a couple of 'virt_lans' entries for delay_config's use.
      25855415
  5. 12 Oct, 2007 1 commit
  6. 25 Sep, 2007 1 commit
  7. 19 Sep, 2007 1 commit
  8. 10 Sep, 2007 2 commits
    • Leigh Stoller's avatar
      05da9eb8
    • Leigh Stoller's avatar
      Rework the newosid web page as an example of how I want all of our current · 77540494
      Leigh Stoller authored
      form processing to be done.
      
      The gist is that I have moved all of the data checking and DB work to
      the backend into a new script called utils/newosid. This script does
      all the field checking that used to be done in php. It takes a simple
      XML file as input and returns a set of strings to format as errors (if
      there are any).
      
      The overall goal to make a big push to move this code out of PHP and
      perl.  A nice side effect is that many operations that are current
      only available via the web interface will also become available
      command line (and also XMLRPC with a little moew work).
      77540494
  9. 29 Aug, 2007 2 commits
  10. 24 Aug, 2007 1 commit
  11. 21 Aug, 2007 1 commit
    • Leigh Stoller's avatar
      Another round of widearea node hacking for CMU. These changes add · 99346dc0
      Leigh 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
  12. 17 Aug, 2007 1 commit
    • Leigh Stoller's avatar
      New widearea node checkin stuff for CMU. This stuff is quite a bit · f3f0fa98
      Leigh 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
  13. 13 Aug, 2007 1 commit
  14. 06 Aug, 2007 1 commit
  15. 03 Aug, 2007 1 commit
  16. 02 Aug, 2007 1 commit
  17. 01 Aug, 2007 1 commit
  18. 30 Jul, 2007 1 commit
  19. 12 Jul, 2007 1 commit
    • Russ Fish's avatar
      Check that the inner elab db schema isn't out of date wrt the outer one, · b54ae4da
      Russ Fish authored
        since we import a bunch of dumped db state from the outer to the inner db.
        Added/removed columns in the schema misalign row data, causing much chaos.
      
      tbsetup/elabinelab.in - Dump and send the outer db schema with the db state.
        Runs mysqldump just like schemacheck does.
      
      tmcd/common/config/rc.mkelab - Add the schema check using schemadiff.
      
      utils/schemadiff - Add an option to ignore table creates and drops.
      b54ae4da
  20. 20 Jun, 2007 1 commit
    • Leigh Stoller's avatar
      Add summary node utilization stats. The initial values are derived by · 21890006
      Leigh Stoller authored
      processing the node_history table, but that is *way* too slow to do on
      the fly (say, from the web interface) cause of the number of records,
      so the summary info is stored in the new node_utilization table. I
      generate the summary info as new entries are added to node_history (in
      SetNodeHistory) but if that becomes too messy, we can just as easily
      shift to processing the table on a nightly basis.
      
      Note that I added a new "inception" date field to the nodes table,
      which will get set on new nodes, but for existing nodes I have to
      derive it from the first entry in the node_history table, or else the
      numbers will not make sense.
      21890006
  21. 31 May, 2007 1 commit
  22. 19 May, 2007 1 commit
  23. 16 May, 2007 1 commit
  24. 11 May, 2007 1 commit
  25. 07 May, 2007 1 commit
    • Leigh Stoller's avatar
      Mostly this commit is the switch from SVN archives to ZIP archives. · 55d1bb6e
      Leigh Stoller authored
      Other stuff leaked in too ...
      
      I did separate out a lot of tbsetup/libArchive into db/Archive, and
      whats left in libArchive.pm will eventually move over into the
      Template library.
      
      Note that I have dropped archiving of plain experiments; this is not
      really owrth it outside the workbench context, and it just wastes
      space and makes a lot if stuff painful in the web interface.
      55d1bb6e
  26. 03 May, 2007 1 commit
  27. 24 Apr, 2007 1 commit
  28. 17 Apr, 2007 1 commit
  29. 10 Apr, 2007 1 commit
  30. 05 Apr, 2007 1 commit
  31. 03 Apr, 2007 1 commit
  32. 25 Mar, 2007 1 commit
  33. 22 Mar, 2007 1 commit
  34. 16 Mar, 2007 1 commit
    • Leigh Stoller's avatar
      Change to elabman handling, to setup an account that we can use for · d7f33445
      Leigh Stoller authored
      helping remote sites setup and update.
      
      * Added a V2 (DSA) key to the install directory that us inserted into
        the pubkeys table for the elabman. This key is encrypted and stored in
        /root/.ssh/elabman_dsa on Utah's boss.
      
      * elabman now starts out as webonly=0,status='active' with a real
        shell on both boss and ops.
      
      * freeze/thaw user now treat elabman as special, giving elabman a real
        account on boss and ops when thawed.
      
      * Addeda "notes" entry to the user profile that indicates the account
        can be frozen once the remote emulab is up and running.
      d7f33445
  35. 14 Mar, 2007 2 commits
  36. 13 Mar, 2007 1 commit
  37. 07 Mar, 2007 1 commit