1. 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
  2. 05 Jan, 2010 1 commit
  3. 16 Oct, 2008 1 commit
  4. 21 Aug, 2008 1 commit
  5. 29 May, 2008 1 commit
  6. 22 May, 2008 1 commit
  7. 17 May, 2008 1 commit
  8. 17 Apr, 2008 2 commits
  9. 12 Apr, 2008 1 commit
  10. 28 Mar, 2008 1 commit
    • David Johnson's avatar
      Add support to synch with and store plab nodegroups in our DB (plab uses · d0f1cec3
      David Johnson authored
      them to key many different control actions, and we can't ignore them
      anymore).  The driving need in this case is to dist out rootballs based on
      the nodegroup so we can test plab4.2... but other ways to use this will
      likely arise.
      
      Also expanded the notion of config attributes I added during the push to
      support multiple PLCs.  Now, config attributes are just per-PLC or
      per-slice; they are per-PLC, but also conditional across
      slice,nodegroup,node tuples.  This gives a ton of flexibility for the
      different actions we need to take based on what kind of node the node is
      -- and plab typically seems to distinguish this based on nodegroups.
      d0f1cec3
  11. 06 Feb, 2008 1 commit
    • David Johnson's avatar
      Add support for including nodes from multiple PLCs in experiments. Right · c44c47c9
      David Johnson authored
      now, this is keyed off nodetype.  Lots of hardcoded constants and config
      stuff moved to attributes in the db.  You can now set per-PLC and
      per-slice attributes, so you can (for instance) use different auth info
      whenever you want.  Experiments can use preexisting slices if somebody
      sets up the db before swapin.  Also, we no longer have to rely on
      slices.xml to sync up nodes/sites with PLC... can use xmlrpc instead.
      
      Lots of code cleanup, improved some abstractions, etc.
      c44c47c9
  12. 08 Nov, 2007 1 commit
  13. 05 Sep, 2007 1 commit
  14. 02 Aug, 2007 1 commit
  15. 19 Jul, 2007 1 commit
  16. 16 Jul, 2007 2 commits
    • David Johnson's avatar
      Support for accessing the v4 NM via a nm-controller slice account. Now, · 88e61ae3
      David Johnson authored
      for each delegated slice we create, we set the 'delegations' attribute to
      'utah_nmcontrol', the name of our nm-controller slice that has permissions
      to talk to the NM.
      
      Also, a few other fixes.
      88e61ae3
    • David Johnson's avatar
      Several things in this commit: · 3bbd843b
      David Johnson authored
        * Prior to this commit, libplab depended on db state to create slivers
          and slices.  Now it can be done using the regular command line tools
          without the metadata in the db.  This makes development and debugging
          much easier and allows us to use the command-line tools even if state has
          been cleared out of the db (i.e., for sliver garbage collection).
        * Add support for sliver start/stop/restart via the v4 NM.
        * Some support for sliver garbage collection.
        * Various other improvements and cleanup.
      3bbd843b
  17. 03 May, 2007 1 commit
  18. 11 Apr, 2007 1 commit
  19. 10 Apr, 2007 1 commit
  20. 05 Apr, 2007 3 commits
  21. 22 Mar, 2007 2 commits
  22. 09 Mar, 2007 1 commit
    • David Johnson's avatar
      These are the rest of the changes that have been accumulating in my dev · 1b6ef602
      David Johnson authored
      tree for v4 planetlab node support.  Currently, we support both v3 and
      v4 NMs via a little wrapper, and we dist out different versions of the
      rootball depending on NM version.  Also updated various parts of libplab
      to log success and failure from interactions with planetlab nodes to the
      db, and there are beginnings of support for that in plabmonitord.in.
      1b6ef602
  23. 10 Feb, 2007 1 commit
  24. 07 Feb, 2007 1 commit
    • David Johnson's avatar
      A few more changes to bring up the portal. For now, we're using the old · 65456ef2
      David Johnson authored
      database as primary, but are recording all slice state changes on the new
      PLC database so the switchover should be seamless.
      
        * GNUMakefile.in: add mod_PLC4.py.in
        * mod_PLC4.py.in: more API changes.
        * libplab.py.in:  add support for saving state at two PLCs, one primary,
            one "compat".
        * mod_PLCNM.py.in: change URL to access old xmlrpc server since
            PlanetLab went ahead and changed DNS.
      65456ef2
  25. 05 Feb, 2007 1 commit
  26. 06 Dec, 2006 1 commit
  27. 11 Sep, 2006 1 commit
    • Kirk Webb's avatar
      · aa446875
      Kirk Webb authored
      plab logging enhancements.
      
      timing information for various RPCs is now logged to
      /usr/testbed/log/plabtiming.log.  This info will be useful for extracting
      trends for the various plab nodes, and in calculating reliability and
      timing metrics.  These could be used, for e.g., to pick nodes that tend to
      come up more quickly.
      
      This update also squelches much of the python backtrace noise when plab nodes
      fail to setup correctly (can be turned on with debug flag).  Instead, failures
      are summarized on a single line.
      
      Oh, and pay no attention to the aspect behind the curtain!  Yes, you may
      groan and moan if you wish - I'm using aspects to help do the logging.  I
      find this to be a really slick way of wrapping several functions!
      aa446875
  28. 27 Mar, 2006 1 commit
    • Kirk Webb's avatar
      · 6adad0d6
      Kirk Webb authored
      Minor bugfix.
      6adad0d6
  29. 24 Mar, 2006 1 commit
    • Kirk Webb's avatar
      · 623b9be0
      Kirk Webb authored
      Fix up plab renewal for current scheme.  We must now go out to each sliver
      individually and ask for it to be renewed.  I've added a new script to be
      run out of cron that will run through and attempt to renew all active slices.
      If a node cannot be renewed with its slice and comes sufficiently close to
      it's recorded expiration (currently two weeks out), mail will be sent to
      testbed ops warning about this situation.  Note that there will only be
      one email message per slice, containing a list of all nodes at risk for
      expiration.  The plab renewal daemon will no longer run as a result of
      this change.  Note that this is sort of a hack.  The better way would be
      to have the daemon perisistenly try to renew nodes that have failed until
      success, but that will take more work, and I might farm it off to the
      plab monitoring daemon anyway.
      623b9be0
  30. 15 Mar, 2006 1 commit
    • Kirk Webb's avatar
      · 3b7a67ce
      Kirk Webb authored
      Pass experiment description through to Planetlab as the slice description
      when creating a slice.  Also mention the Planetlab AUP and importance of
      providing an accurate slice description in the documentation.  The ez
      interface also briefly mentions the importance of the slice description.
      3b7a67ce
  31. 10 Mar, 2006 2 commits
    • Kirk Webb's avatar
      · c94fe76c
      Kirk Webb authored
      Fix stupid little mistake in last commit.
      c94fe76c
    • Kirk Webb's avatar
      · de3525be
      Kirk Webb authored
      Change version check code to throw exception if it can't contact the
      remote pl_conf.
      de3525be
  32. 21 Dec, 2005 1 commit
    • Kirk Webb's avatar
      · 21f627fa
      Kirk Webb authored
      Add a bit of additional output info, and fix a little bug in rc.inplab
      21f627fa
  33. 20 Dec, 2005 1 commit
    • Kirk Webb's avatar
      · 58a82518
      Kirk Webb authored
      Slice renewal updated to work with new PLC API.  Emulab-created plab slices
      are no longer in danger of falling out from under our users!
      58a82518
  34. 15 Dec, 2005 1 commit
    • Kirk Webb's avatar
      · 41c54939
      Kirk Webb authored
      The revived Plab interface is here!
      
      Lots of updates to the plab backend, including improved plab <-> elab node
      id translation and update handling.  Includes support for the current PLC
      API, and the new pl_conf node manager interface API.  Several more db library
      routines were ported from the perl library to the python one to support the
      new code (mostly the node_id tracking stuff).  Fixes to the client side and
      also a rootball creation cleanup (binaries removed from the CVS repo).
      
      There are also enhancements to the experiment view page for experiments
      including plab nodes: site and widearea hostname are now displayed along
      with the other node information.
      
      Note that the way setup timeout for vnodes is calculated has been changed a
      bit.  Instead of using a hardwired base timeout, the base timeout is now
      based on the reload_waittime database field, which comes from the 'OS'
      (e.g., FBSD-JAIL, RHL-PLAB) the vnode runs.
      
      The default max duration for a plab slice created through the plab_ez interface
      is set to 1 year, and linktest is currently disabled and hidden through
      the ez interface.
      
      There is still work to do, but this checkin brings with it a functional
      plab portal!
      41c54939