1. 31 May, 2017 1 commit
  2. 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
  3. 17 Apr, 2012 1 commit
  4. 14 Feb, 2007 1 commit
  5. 01 Dec, 2006 2 commits
  6. 25 Oct, 2006 1 commit
    • Leigh Stoller's avatar
      Makefile Whacking! Try to deal with the problem caused by the delay · 7590f9c5
      Leigh Stoller authored
      between when something is installed and when post-install runs. Short
      of a global lock (which we probably need anyway someday), my solution
      is this. In your makefiles, add these variables before the line that
      has the include of $(TESTBED_SRCDIR)/GNUmakerules:
      
      	SETUID_BIN_SCRIPTS   =
      	SETUID_SBIN_SCRIPTS  =
      
      I have added three new rules to GNUmakerules that look like this:
      
      	$(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: %
      		echo "Installing (setuid) $<"
      		-mkdir -p $(INSTALL_SBINDIR)
      		$(SUDO) $(INSTALL) -o root -m 4755 $< $@
      
      Yep, your eyes ain't lying to you; use sudo to run the target so that
      install does the right thing (which is that the old file is not
      replaced until the new one has the proper attributes on it).
      
      Note that post-install is still needed for the initial install, but
      should no longer be needed for day to day installs since all that other
      stuff post-install does is mkdir/chmod on directories.
      7590f9c5
  7. 04 Apr, 2006 2 commits
  8. 21 Mar, 2006 1 commit
  9. 10 Mar, 2006 1 commit
  10. 06 Mar, 2006 1 commit
  11. 27 Dec, 2005 1 commit
    • Dan Gebhardt's avatar
      Added: · 8ed67c52
      Dan Gebhardt authored
      - unbounded record time
      - stats dump (by stdout) with USR1 signal
      8ed67c52
  12. 19 Dec, 2005 1 commit
  13. 16 Dec, 2005 3 commits
  14. 06 Dec, 2005 1 commit
  15. 25 Sep, 2005 1 commit
    • Timothy Stack's avatar
      · 270173af
      Timothy Stack authored
      A little blinken lichten tweakin:
      
      	* mote/sgtools/moteleds.C: If an update hasn't been sent for 1.5
      	seconds, send one so the other side still knows we're alive.
      
      	* www/BlinkenLichten.class, www/BlinkenLichten.java: Add the blue
      	throbbing rectangle of liveness and cross out the lights if the
      	connection seems to be down.  Need this stuff, otherwise it's hard
      	to tell the difference between the lights not changing and network
      	latency.
      
      	* www/showstuff.php3: Widen the size of the blinky light applet.
      270173af
  16. 29 Jul, 2005 1 commit
    • Timothy Stack's avatar
      · cb7801fb
      Timothy Stack authored
      Fix the race between loading a mote and rebooting its host stargate.
      
      	* db/libdb.pm.in: Add TBNodeSubNodes function which returns the
      	list of subnodes for a given node.
      
      	* mote/tbuisp.in: Don't reboot the stargate anymore after loading
      	the attached mote.  The problem with the radio not working after
      	the upload should be fixed now.
      
      	* tbsetup/libreboot.pm.in: Check if a node's subnodes are being
      	reloaded.  If so, try to wait until they reach ISUP before
      	actually doing the reboot.
      
      	* tbsetup/os_setup.in: Do not skip the ISUP wait for subnodes that
      	are imageable (like motes), otherwise their allocstates are not
      	updated correctly.  Remove the robot-specific hack that	assumed
      	tbuisp would do the reboot if the attached mote was being reloaded.
      cb7801fb
  17. 30 Jun, 2005 1 commit
  18. 27 Jun, 2005 3 commits
  19. 23 Jun, 2005 1 commit
  20. 22 Jun, 2005 1 commit
  21. 09 Jun, 2005 1 commit
  22. 03 Jun, 2005 1 commit
    • David Johnson's avatar
      Fixes a fun little bug that's been screwing me over for awhile now. · 4dd8ff10
      David Johnson authored
      Basically, tbuisp was checking if a file was an exe or srec based on
      extension.  This was failing when tbuisp was invoked from xmlrpc, because
      the rpc server created a temp file without a .exe extension.  Thus, tbuisp
      thought that the file was an srec (since it wasn't an exe)... and motes
      were not getting programmed properly.  tbuisp now distinguishes which type
      the file is using avr-objdump, and matching the format.  The downside of
      this is that we'll need to support different kinds of exe binary types as
      we add different kinds of motes (i.e., the binary type for our avr-based
      motes is elf32-avr... surely the telos motes will have a different type).
      4dd8ff10
  23. 02 Jun, 2005 1 commit
    • Timothy Stack's avatar
      · 23800bf7
      Timothy Stack authored
      Make use of the stargate's onboard watchdog timer.
      
      	* mote/sgtools/GNUmakefile.in: Standard makefile for sgtools.  Run
      	configure as described in doc/cross-compiling.txt to make it
      	compile for the stargate.
      
      	* mote/sgtools/wagthedog.C: Enable and feed the stargate's onboard
      	watchdog timer.
      
      	* robots/primotion/pilot-wrapper.sh: Rewrite in perl.
      
      	* tmcd/common/watchdog: Change the path of the battery log file.
      
      	* tmcd/linux-sg/rc.stargate: Start the stargate watchdog tool and
      	run the pilot-wrapper script instead of pilot directly.
      23800bf7
  24. 31 May, 2005 1 commit
  25. 27 May, 2005 4 commits
  26. 20 Apr, 2005 2 commits
  27. 05 Apr, 2005 2 commits
    • Robert Ricci's avatar
      Add support for .exe binary files - we process them into the srec · 8eda4f8b
      Robert Ricci authored
      files that are given to TinyOS.
      
      As part of this, support changing the ID programmed into the mote.
      The user can supply this on the command line, or they can supply it
      in the DB (soon to be hooked in to NS files), or, if neither of
      these is given, it defaults to the numeric part of the node's name.
      
      This is neat - it could be the start of a more general framework,
      in which we do things like modify uploaded TinyOS kernels to use
      the frequency assigned to the experiment, or let users set parameters
      for their TinyOS kernels in their NS fields.
      8eda4f8b
    • Robert Ricci's avatar
      3f97e0f5
  28. 04 Apr, 2005 1 commit
    • Timothy Stack's avatar
      · 463ee6b1
      Timothy Stack authored
      Mote and robot related stuff.  The main thing is the addition of relay
      capabilities to capture and related things.
      
      	* GNUmakefile.in: Add the capture and tip subdirectories to the
      	client and client-install targets.
      
      	* configure, configure.in, config.h.in: Detect srandomdev() for
      	capture and add "mote/newmote" script.
      
      	* capture/GNUmakefile.in, capture/capture.c: Add "relay"
      	capabilities to capture.
      
      	* capture/capquery.c: Query the capserver for the relay receiver's
      	port number.
      
      	* capture/capserver.c: Small hack to return the port number
              for a node.
      
      	* db/libdb.pm.in, db/xmlconvert.in: Add virt_tiptunnels table.
      
      	* event/program-agent/program-agent.c: Change log file names to
      	something a little more user-friendly.  Add a "MODIFY" event
      	handler that lets the user set agent attributes (command, tag,
      	timeout) without having to run a program.
      
      	* event/sched/GNUmakefile.in, event/sched/console-agent.cc,
      	event/sched/console-agent.h, event/sched/event-sched.c: Add
      	console agents that can be used to snapshot a section of the
      	capture log file.
      
      	* event/sched/node-agent.cc: Some minor cleanup.
      
      	* event/sched/simulator-agent.cc, event/sched/simulator-agent.h:
      	Add the config data to the report mail.  Add a "RESET" event
      	handler that runs "loghole clean".  Save the report mail in a file
      	so it gets archived with the rest of the logs.
      
      	* lib/libtb/tbdefs.h: Add CONSOLE object type.
      
      	* mote/GNUmakefile.in, mote/newmote: Add newmote script, just a
      	quick hack to add motes to the DB.
      
      	* mote/tbuisp.in: Add another backend for loading motes through
      	their relay capture server.
      
      	* robots/mtp/mtp_dump.c: Dump the min/max values for x and y,
      	handy for figuring out the bounds of the camera.
      
      	* sql/database-fill.sql: Change the RELOAD-MOTE/SHUTDOWN ->
      	ALWAYSUP/SHUTDOWN mode transition to ALWAYSUP/ISUP since stated
      	doesn't seem to run triggers after a state change by a mode
      	transition.
      
      	* tbsetup/tbreport.in: Change the ordering of the eventlist so it
      	displays event-sequences appropriately.
      
      	* tbsetup/ns2ir/GNUmakefile.in, tbsetup/ns2ir/console.tcl,
      	tbsetup/ns2ir/node.tcl, tbsetup/ns2ir/parse.tcl.in,
      	tbsetup/ns2ir/sim.tcl.in: Add a "console" agent that represents
      	the serial console for a node.
      
      	* tbsetup/ns2ir/sequence.tcl: Add an "append" method so it is
      	easier to build sequences dynamically.
      
      	* tbsetup/ns2ir/topography.tcl: Make checkdest available to
      	regular users.
      
      	* tip/GNUmakefile.in, tip/tiptunnel.c: Add support for uploading a
      	file to a relay version of capture and exporting the end
      	connection as a pty.
      
      	* tmcd/decls.h, tmcd/common/libsetup.pm: Bump version number since
      	the dosubnodelist change is not backwards compatible.
      
      	* tmcd/tmcd.c: Make dosubnodelist and dosubconfig callable even
      	when a node isn't allocated.  Add dotiptunnels command that
      	returns which serial consoles are to be mounted on a node.  Add
      	mote version of subconfig that returns information needed to
      	startup the relay version of capture.
      
      	* tmcd/common/bootsubnodes: For motes, startup the relay version
      	of capture (XXX stargate specific).
      
      	* tmcd/common/libsetup.pm, tmcd/common/libtmcc.pm,
      	tmcd/common/config/rc.config, tmcd/common/config/rc.tiptunnels:
      	Client side changes for mounting another nodes serial line.
      
      	* tmcd/common/rc.bootsetup: Always boot the subnodes, even when
      	free.  This is used for motes since their capture needs to be up
      	for reloading at the time.
      
      	* tmcd/linux/ixpboot: Shuffle some code around so the script
      	doesn't fail if the ixp isn't allocated.
      
      	* utils/loghole.in: Add "digest.out" and "report.mail" as global
      	logs to be saved in archives and display the "report.mail" file
      	when showing a loghole archive.
      
      	* xmlrpc/emulabserver.py.in: Scrub more of the return values to
      	get rid of "None"s.
      463ee6b1
  29. 15 Feb, 2005 1 commit
    • Kirk Webb's avatar
      · 03f2ad1a
      Kirk Webb authored
      Missed Tim's change to tbuisp that already addresses this.
      03f2ad1a