1. 10 Oct, 2017 1 commit
  2. 31 May, 2017 1 commit
  3. 20 Jan, 2017 1 commit
  4. 17 May, 2013 1 commit
  5. 29 Jan, 2013 1 commit
  6. 24 Jan, 2013 1 commit
  7. 18 Jan, 2013 1 commit
  8. 17 Jan, 2013 1 commit
    • Leigh B Stoller's avatar
      Add long term storage of log files in /usr/testbed/logs/logfiles. · b0cfd986
      Leigh B Stoller authored
      New Store() method will gzip and move the file from current location
      to long term storage, and update the DB row to reflect the change.
      Change spewlogfile to handle these compressed files. Also added a
      "public" flag that says a log file can be requested by an anonymous
      user that knows the logid (md5 of bits). Change spewlogfile to allow
      anonymous requests.
      Add logfile_metadata to hold key,value pairs associated with a
      logfile, eventually for search but initially to include when returning
      the contents of a logfile via spewlogfile.
  9. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      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
      blocks that contain actual license statements.
      track Emulab and ProtoGENI sources via git.
      at the University of Utah would roll distributions by making tar
      license symbols in the source files with actual license statements.
      that people acquired source files without actual license statements in
      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
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      Some Utah-copyrighted files in the Emulab source tree are distributed
  10. 11 Oct, 2010 1 commit
    • Leigh B Stoller's avatar
      Work on an optimization to the perl code. Maybe you have noticed, but · 92f83e48
      Leigh B Stoller authored
      starting any one of our scripts can take a second or two. That time is
      spent including and compiling 10000s of thousands of lines of perl
      code, both from our libraries and from the perl libraries.
      Mostly this is just a maintenance thing; we just never thought about
      it much and we have a lot more code these days.
      So I have done two things.
      1) I have used SelfLoader() on some of our biggest perl modules.
         SelfLoader delays compilation until code is used. This is not as
         good as AutoLoader() though, and so I did it with just a few 
         modules (the biggest ones).
      2) Mostly I reorganized things:
        a) Split libdb into an EmulabConstants module and all the rest of
           the code, which is slowly getting phased out.
        b) Move little things around to avoid including libdb or Experiment
           (the biggest files).
        c) Change "use foo" in many places to a "require foo" in the
           function that actually uses that module. This was really a big
           win cause we have dozens of cases where we would include a
           module, but use it in only one place and typically not all.
      Most things are now starting up in 1/3 the time. I am hoping this will
      help to reduce the load spiking we see on boss, and also help with the
      upcoming Geni tutorial (which kill boss last time).
  11. 26 Nov, 2007 1 commit
  12. 06 Nov, 2007 1 commit
    • Leigh B. Stoller's avatar
      This started out as a simple change to turn the datastore into a CVS · c1cff09b
      Leigh B. Stoller authored
      sandbox, and that I did. It falls back to the older archive when
      the template is older then CVS repos.
      But along the way I got annoyed with the fact that template instantiation
      does not provide a logfile to the web interface. The reason is that
      the current logfile stuff is very experiment centric; there has to be an
      experiment and an attached logfile. An instance does not have an experiment
      until really late in the game so the code was just not bothering.
      Anyway, I've started to generalize the logfile stuff with a new table
      and the approach that a logfile is named by a random key, and if you
      know the key you can look at the logfile in the web (since without an
      experiment it is hard to do permission checks unless we make logfiles
      uid/gid owned, and I did not want to do that.