1. 04 May, 2011 1 commit
    • Mike Hibler's avatar
      Avoid designating a node not running linktest as the lintest master. · b3574ace
      Mike Hibler authored
      Only happens in an obscure case. Since virtual nodes can be fixed to other
      topology nodes in the NS file, "virthost" nodes can explicitly appear in the
      resulting topology descriptions. However, virthost nodes do not run linktest
      so we need to ensure they do not get nominated as "linktest master" for an
      experiment.
      
      Rather than fix this on the client-side and create further backward-compat
      issues, we resolve this in the server-generated linktest topology map.
      By marking such virthost nodes as not supporting linktest, the client side
      will automatically weed out those nodes.
      b3574ace
  2. 09 Jul, 2009 1 commit
  3. 14 Apr, 2009 1 commit
    • Kevin Atkinson's avatar
      Implement front-end parts for backfill changes. Added the following · bca66466
      Kevin Atkinson authored
      NS commands:
        tb-set-link-backfill <link> <bw>
        tb-set-link-simplex-backfill <link> <src node> <bw>
        tb-set-lan-backfill <lan> <bw>
        tb-set-node-lan-backfill <node> <lan> <bw>
        tb-set-lan-simplex-backfill <lan> <node> <tobw> <frombw>
      for now the tbres/FBSD410-DEL-BACKFILL image needs to be used.
      bca66466
  4. 21 Jul, 2006 1 commit
  5. 03 Jul, 2006 1 commit
    • Mike Hibler's avatar
      Framework for supporting 802.1q tagged VLANs as a form of multiplexed link. · 3f1c15e2
      Mike Hibler authored
      Actually, most of the changes here were just to generalize the "virtual
      interface" state in the DB.  Other than the client-side scripts, there
      is very little specific here specific to tagged VLANs.
      
      In fact, you cannot specify "vlan" as a type yet as we haven't done the
      snmpit support for setting up the switches.
      
      For more info see bas:~mike/flux/doc/testbed-virtinterfaces.txt, which I
      will integrate into the knowledge base and the Emulab doc at some point.
      3f1c15e2
  6. 26 Apr, 2006 2 commits
    • Mike Hibler's avatar
      Include osfeatures in the "physical" topo map. · cccd82d9
      Mike Hibler authored
      This way, the linktest instances can know who will be running linktest
      and who will not and thus we can run on a subset of nodes.
      cccd82d9
    • Leigh B. Stoller's avatar
      Change to make mysql 5.X happy. The gist of this change is this that · 76a6bed4
      Leigh B. Stoller authored
      there is a query (by Mike I think) that has this form:
      
                SELECT * FROM t1, t2 JOIN t3 ON  ...
      
      Prior to 5.X, the comma operator had the same precedence as join, and
      so it was evaluated left to right. Well, now comma is lower then join
      and this query breaks cause the right side is evaluated before the
      left side. The solution is simply:
      
                SELECT * FROM (t1, t2) JOIN t3 ON  ...
      
      but as the manual points out, why not just use:
      
                SELECT * FROM t1 JOIN t2 JOIN t3 ON ...
      
      and avoid precedence issues.
      76a6bed4
  7. 14 Apr, 2006 1 commit
  8. 11 Apr, 2006 1 commit
  9. 06 Feb, 2006 1 commit
  10. 03 Jan, 2006 1 commit
  11. 01 Dec, 2005 1 commit
    • Leigh B. Stoller's avatar
      Well, lets see if this fixes linktest! Changed the generation of the · b357f3c0
      Leigh B. Stoller authored
      ltmap file so that it does the proper calculation of delay, bandwidth,
      and loss, as it is done in assign_wrapper. More specifically, the
      delay/bandwidth/loss between two nodes in a lan is a function of nodea
      delay/bandwidth/loss, and nodeb rdelay/rbandwidth/rloss, where the "r"
      values are for the "from the lan to the node" direction.  These might
      very well be different then the other values for asymmetric links.
      b357f3c0
  12. 27 Oct, 2005 1 commit
  13. 26 Oct, 2005 1 commit
  14. 19 Aug, 2005 1 commit
    • Timothy Stack's avatar
      · a1c355a5
      Timothy Stack authored
      Bring linktest in line with the new event system world order and do some
      generic cleanup.  I'm pretty sure I broke backwards compatibility with
      old disk images though...
      
      	* configure, configure.in: Remove linktest.h.in from the list of
      	template files.
      
      	* event/linktest/GNUmakefile.in: Don't make subdirectories for
      	executables since it can mess up the dependencies.  Don't install
      	tb_compat.tcl stuff anymore.  Check for '/usr/local/bin/pathrate'
      	and friends, and print out a warning if they are not found.  Make
      	a version file for the linktest daemon.
      
      	* event/linktest/linktest.c: Only subscribe to the events we care
      	about 'STOP/KILL'.  Subscribe to TIME START events and kill any
      	linktests that are in progress.  Send events through the local
      	elvind instead of running tevc.
      
      	* event/linktest/linktest.pl.in: Don't run the modified NS anymore
      	to generate the topology file, use gentopofile to do that.  Send
      	COMPLETE events to indicate that the tests were finished instead
      	of STOP so it works with ev...
      a1c355a5
  15. 08 Sep, 2004 1 commit
  16. 03 Jun, 2004 1 commit
  17. 02 Jun, 2004 1 commit
  18. 01 Jun, 2004 1 commit
    • Leigh B. Stoller's avatar
      New program, called at prerun time, to generate a virtual topology · a9dea43d
      Leigh B. Stoller authored
      file in the experiment tbdata directory. This topo file is intended to
      be used on the node to generate inputs to dijkstra and genhostsfile,
      so that routes and /etc/hosts can be generated on the node, rather
      then in tmcd, where it creates a huge bottleneck during experiment
      startup of very large experiments (many 100s of nodes). This topo file is
      slightly more rational then just dumping DB rows like we do from the RPC
      server. For example:
      
      	# nodes: vname,links
      	lonely,link0:10.1.1.2
      	node-1,lan0:10.1.2.2 link0:10.1.1.3
      	node-2,lan0:10.1.2.3
      	node-3,lan0:10.1.2.4
      	# lans: vname,mask,cost
      	lan0,255.255.255.0,1
      	link0,255.255.255.0,1
      
      Usage: gentopofile [-n] pid eid
      
      The file is written as "topomap" in the current directory.  Use the
      -n (impotent) option to dump the topofile to stdout rather writing to
      the file.
      a9dea43d