1. 26 Jan, 2006 3 commits
    • Kevin Atkinson's avatar
      · 05015359
      Kevin Atkinson authored
      Merged in changes from tblog-2-branch:
      
                Move parts of libtblog into libtblog_simple.  Libtblog simple
                provided the basic logging functions but doesn't touch anything.
                Moreover including libtblog_simple doesn't automatically start
                the logging subsystem.  It also doesn't have testbed dependencies
                which mean 1) it can be used in the core testbed libraries (such
                as libdb, libtestbed) without introducing a circular dependency
                and 2) can be used independently.
      
                Reworked DBFatal and DBWarn to use tblog.  It will still email
                testbed-ops, however.
      
                Make use of the "cause" field to determine the cause of the bug.
                In particular tblog_find_error will look at the value of this
                field and report the "cause".  In the future different actions
                can be taken based on the ultimate "cause" of the bug, such as if
                testbed-ops should be notified.
      
                Change format of Error Message reported by libtblog.  As per the
                email "Format or Error Messages" ro testbed-dev.
      
                Have libtblog use its own Database handle to avoid problems with
                locked tables.
      
                Also set DBCONN_MAXTRIES to 3 for most important queries.  For
                queries that are not important don't send mail on error.
      05015359
    • Timothy Stack's avatar
    • Timothy Stack's avatar
      For the real NS parser, simulate the way raw object names work in the · f91efbbe
      Timothy Stack authored
      testbed parser.  For example, in:
      
        set node [$ns node]
      
      The "set" creates a variable named node, but the testbed parser also
      renames the object to be "node".  Doing a similar rename is hard in
      the real NS parser since we have to change any existing references to
      the object.  Instead, we dynamically create a procedure with the name
      that forwards methods to the actual object.
      
      And so, the corrupting of my soul continues.
      f91efbbe
  2. 25 Jan, 2006 1 commit
  3. 23 Jan, 2006 5 commits
    • Leigh B. Stoller's avatar
      Make sure that modified NS file lands in the same spot that batchexp · bd23f063
      Leigh B. Stoller authored
      is putting it (into the archive).
      bd23f063
    • Leigh B. Stoller's avatar
      fee2510d
    • Leigh B. Stoller's avatar
      e46a37e4
    • Timothy Stack's avatar
      Add some missing dummy tb-* functions. · 7d6872fe
      Timothy Stack authored
      7d6872fe
    • Timothy Stack's avatar
      · add602df
      Timothy Stack authored
      Parse the NS file with the real NS parser so we can make sure linktest is
      doing the "right" thing.
      
      	* configure, configure.in: Add tbsetup/nsverify files.
      
      	* tbsetup/GNUmakefile.in: Add nsverify subdir.
      
      	* tbsetup/tbprerun.in: Run verify-ns on the experiments NS file.
      
      	* tbsetup/ns2ir/nstb_compat.tcl: Bring up-to-date with the current
      	world.
      
      	* tbsetup/nsverify/GNUmakefile.in: Makefile.
      
      	* tbsetup/nsverify/ns-2.27.patch: Patch file for NS version 2.27.
      
      	* tbsetup/nsverify/nstbparse.in: Wrapper for the NS parser.
      
      	* tbsetup/nsverify/tb_compat.tcl: Different version of
      	tb_compat.tcl that is used to verify linktest parameters.
      
      	* tbsetup/nsverify/verify-ns.in: Script that runs on boss and
      	verifies that the testbed parser worked correctly.
      
      	* tbsetup/ns2ir/parse-ns.in, tbsetup/ns2ir/parse.proxy.in: Tweaked
      	a bit so parse.proxy can be used to run the regular NS parser in
      	addition to the testbed one.
      add602df
  4. 22 Jan, 2006 4 commits
    • Leigh B. Stoller's avatar
      Minor fix to previous revision. · 03c29a60
      Leigh B. Stoller authored
      03c29a60
    • Kirk Webb's avatar
      · 0418a8ea
      Kirk Webb authored
      OK - really exit when I say so.  Note: sys.exit() _and_ sys._exit() throw
      exceptions.  Must use os._exit() to exit immediately.
      0418a8ea
    • Kirk Webb's avatar
      · 78d18be0
      Kirk Webb authored
      More info when exiting due to a signal.
      78d18be0
    • Kirk Webb's avatar
      · c4d0c78a
      Kirk Webb authored
      libplab.py.in:
      
      Exit right away when signalled while trying to perform a remote command.
      
      vnode_setup.in:
      
      More info when a timeout occurs, and reduce the execution spacing a little.
      c4d0c78a
  5. 20 Jan, 2006 1 commit
  6. 19 Jan, 2006 1 commit
  7. 18 Jan, 2006 2 commits
  8. 17 Jan, 2006 2 commits
  9. 13 Jan, 2006 2 commits
  10. 12 Jan, 2006 6 commits
  11. 11 Jan, 2006 1 commit
  12. 09 Jan, 2006 3 commits
  13. 08 Jan, 2006 5 commits
  14. 06 Jan, 2006 4 commits