1. 06 Oct, 2016 1 commit
  2. 15 Sep, 2016 1 commit
  3. 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
  4. 12 Jun, 2012 4 commits
  5. 05 Dec, 2007 1 commit
  6. 09 Apr, 2004 1 commit
  7. 19 Mar, 2004 1 commit
  8. 10 Jan, 2003 1 commit
  9. 23 Dec, 2002 1 commit
  10. 07 Jul, 2002 1 commit
  11. 22 Apr, 2002 1 commit
  12. 08 Feb, 2002 1 commit
    • Leigh Stoller's avatar
      Big round of image/osid changes. This is the first cut (final cut?) at · a73e627e
      Leigh Stoller authored
      supporting autocreating and autoloading images. The imageid form now
      sports a field to specify a nodeid to create the image from; If set,
      the backend create_image script is invoked. Thats the easy part.
      Slightly harder is autoloading images based on the osid specified in
      the NS file. To support this, I have added a new DB table called
      osidtoimageid, which holds the mapping from osid/pctype to imageid.
      When users create images, they must specify what node types that image
      is good for. Obviously, the mappings have to be unique or it would be
      impossible to figure it out! Anyway, once that image mapping is
      in place and the image created, the user can specify that ID in the NS
      file. I've changed os_setup to to look for IDs that are not loaded,
      and to try and find one in the osidtoimageid. If found, it invokes
      os_load. To keep things running in parallel as much as possible,
      os_setup issues all the loads/reboots (could be more than a single set
      of loads is multiple IDs are in the NS file) at once, and waits for
      all the children to exit. I've hacked up os_load a bit to try and be
      more robust in the face of PXE failures, which still happen and are
      rather troublsesome. Need an event system!
      
      Contained in this revision are unrelated changed to make the OS and
      Image IDs per-project unique instead of globally unique, since thats a
      pain for the users. This turns out to be very messy, since underneath
      we do not want to pass around pid/ID in all the various places its
      used. Rather, I create a globally unique name and extened the OS and
      Image tables to include pid/name/ID. The user selects pid/name, and I
      create the globally unique ID. For the most part this is invisible
      throughout the system, except where we interface with the user, say in
      the web pages; the user should see his chosen name where possible, and
      the should invoke scripts (os_load, create_image, etc) using his/her
      name not the internal ID. Also, in the front end the NS file should
      use the user name not the ID. All in all, this accounted for a number
      of annoying changes and some special cases that are unavoidable.
      a73e627e
  13. 14 Jan, 2002 1 commit
    • Leigh Stoller's avatar
      Make Frisbee.Redux live: · d08b5e41
      Leigh Stoller authored
      * Add appropriate goo to os/GNUMakefile so that Frisbee daemon is
        built and installed.
      
      * Rework the frisbee launcher slightly. Aside from little changes
        (send email to tbops when frisbeed dies, new cmdline syntax to
        frisbeed), allow for frisbeed to exit gracefully after a period of
        inactivity (no client requests for 30 minutes, at present). In order
        to prevent a race condition with a new client being added (and
        rebooted) and frisbeed terminating before the client gets started,
        add a load_busy indicator to the images table (next to load_address
        slot) and set that to one each time to frisbeelauncher is invoked.
        When frisbeed exits, test and clear that bit atomically (lock
        tables) and go around another time (restart frisbeed for another 30
        minute period).
      
      * Rework waitmode in os_load. Wait for all of the nodes to finish at
        once, and track which nodes never finish. Retry those nodes again by
        rebooting. The number of retries is configurable in the script, and
        is currently set to one. This should take care of some PXE boot
        related problems, although obviously not all.
      
      * Got rid of -w option to os_load and made waitmode the default. The
        -s option can be used to start a reload, but not to wait for it to
        complete.
      
      * Minor changes to sched_reload and reload_daemon; pass in -s option
        to os_load.
      d08b5e41
  14. 06 Nov, 2001 1 commit
  15. 22 Oct, 2001 1 commit
    • Leigh Stoller's avatar
      Add -e pid,eid option to sched_reload to make it easier to schedule · 6adf504b
      Leigh Stoller authored
      reloads for nodes in an experiment.
      Change os_load to schedule a default image reload whenever a mereuser
      loads an image that is not the default image for that node type.
      Add some support stuff in libdb (TBSetSchedReload) and some constant
      definitions for sched_reload and for nodelog.
      6adf504b
  16. 28 Sep, 2001 2 commits
    • Leigh Stoller's avatar
      Interface change: · f870a7e9
      Leigh Stoller authored
      	Usage: os_load [-s | -w] [-r] [-i <imageid>] <node> [node ...]
              Usage: sched_reload [-f | -p] [-r] [-i <imageid>] <node> [node ...]
      
      The imageid is now an optional argument. After continually forgetting
      what imageid to use, or just plain forgetting the argument, and having
      it try to load imageid pc53 on pcXX, I decided this interface was
      bogus. With now imageid, select the default imageid for each node
      provided. This is actually convenient since you can load multiple
      types of nodes in one shot.
      f870a7e9
    • Leigh Stoller's avatar
      Add check for valid imageid. Sucks when you mess this up and it gets · 9f10a704
      Leigh Stoller authored
      stuck in the reload table!.
      9f10a704
  17. 18 Sep, 2001 2 commits
  18. 17 Sep, 2001 2 commits
  19. 11 Sep, 2001 1 commit
    • Leigh Stoller's avatar
      Minor addition of -p option, which is just a helper to schedule a · 41a1fdfd
      Leigh Stoller authored
      reload that will get picked up by the reload daemon instead of being
      fired off immediately. The node is reserved to reloadpending EID,
      which the reload daemon looks for. This is useful since until Frisbee
      is fully operational, we cannot do mass reloads, so this approach
      results in all the nodes getting reserved away and slowy reloaded and
      freeed up later.
      41a1fdfd
  20. 06 Sep, 2001 1 commit
  21. 23 Aug, 2001 1 commit
    • Mac Newbold's avatar
      Lots of small changes for turning our 'require lib*' lines into 'use lib*'... · e2ed8a1c
      Mac Newbold authored
      Lots of small changes for turning our 'require lib*' lines into 'use lib*' lines. Proper modules declare themselves as a package, and use Exporter to export the names of the subroutines that should be visible from the outside world. Many of ours didn't do that, it was just a file with a bunch of subs in it. So now I've fixed many of them to be proper, and removed the requires and 'push(@INC,...)' hacks and changed it to the proper 'use lib @prefix@/lib/;' and use lib*.
      e2ed8a1c
  22. 05 Jun, 2001 1 commit
  23. 25 May, 2001 1 commit
    • Leigh Stoller's avatar
      New libdb module. A library of some useful routines that will · 7e4ad150
      Leigh Stoller authored
      hopefully get bigger and reduce the amount of typing that we all
      do. I hacked up sched_reload and os_load to use it. Pretty simple to
      start with.
      
      I'm not planning to go much further on this until we sync up with the
      dbtoir branch since it will just create needless branch merge errors.
      7e4ad150
  24. 08 May, 2001 1 commit
  25. 03 May, 2001 1 commit
    • Leigh Stoller's avatar
      A slew of changes for new images/os_info tables. disk_images is gone, · 23a230e8
      Leigh Stoller authored
      replaced by the "images" table. New os_info table is added. New web
      pages to add and delete OSIDs to/from the os_info table, for use in
      the NS file. tb-create-os is gone. handle_os no longer operates on the
      tbcmds file, and no longer writes anything into the ir file. Moved the
      setting up of os state (nodes table) from os_setup to handle_os, where
      it should be. os_load and sched_reload now take a single argument, the
      name of the imageid from the images table.
      23a230e8
  26. 30 Mar, 2001 1 commit
  27. 25 Mar, 2001 1 commit
  28. 07 Mar, 2001 1 commit
  29. 22 Feb, 2001 1 commit
    • Leigh Stoller's avatar
      Fix to tmcd for when a node reports a reboot. Need to check the · c20619e2
      Leigh Stoller authored
      pid/eid before releasing from the reloads/reserve table, since an
      admin initiated reload might be pending when a user does his own
      load. Don't want to clear the reload state, or even worse, the
      reserved state. There is a cross dependency created bewteen tmcd.c
      and sched_reload on the pid/eid testbed/reloading. No biggie. I put in
      a warning in both places.
      c20619e2
  30. 06 Feb, 2001 1 commit
  31. 04 Jan, 2001 2 commits
  32. 03 Jan, 2001 1 commit
  33. 21 Dec, 2000 1 commit