1. 10 Oct, 2016 1 commit
    • Leigh Stoller's avatar
      Address linktest problems reported by Mike in issue #160: · e7422d49
      Leigh Stoller authored
      1. Changes to gentopofile to not put in linktest info for links and lan
         with only one member.
      2. Fix to the CM for deletenode of a node that has tagged links.
      3. Fixes to the status web page for deletenode; we were installing the
         linktest event handlers multiple times.
      4. Pass through -N argument to linktest from the CM, when the experiment
         has NFS mounts turned off, so that we use loghole to gather the data
         files (instead of via NFS).
      This closes issues #160.
  2. 01 Jul, 2014 1 commit
  3. 07 Apr, 2014 1 commit
  4. 07 Feb, 2014 2 commits
  5. 08 Jul, 2013 1 commit
  6. 13 Mar, 2013 1 commit
    • Leigh Stoller's avatar
      Changes to get GRE tunnels into /etc/hosts when coming from PG. · c44a928e
      Leigh Stoller authored
      The main problem is that when coming from the PG interface, we do not
      create normal virt_lans entries for GRE tunnels, since one side of the
      tunnel in not a local node and that would confuse all kinds of things.
      So instead we enter that directly into the lans table when a ticket is
      redeemed. So, gentopofile never sees them and they do not go into the
      So, I've added a pass in gentopofile that checks the lans table for
      tunnels that are not in virt_lans.
  7. 02 Mar, 2013 1 commit
  8. 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
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
  9. 06 Jun, 2012 1 commit
  10. 16 Nov, 2011 1 commit
  11. 08 Jun, 2011 1 commit
  12. 02 Jun, 2011 1 commit
    • Leigh Stoller's avatar
      Lift some of Jon's code from ipassign_wrapper for computing link/lan · ac357208
      Leigh Stoller authored
      equivalence in the presence of bridge nodes.
      Use that to spit out proper topomap so the clients can do distributed
      route calculation.
      Add some code that is not enabled (and not working) for linktest in
      the presence of bridge nodes. This is is really a pain and I have not
      figured it out yet.
  13. 04 May, 2011 2 commits
    • Weibin Sun's avatar
      merge with emulab-devel · fab88c4a
      Weibin Sun authored
    • 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
      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.
  14. 09 Jul, 2009 1 commit
  15. 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.
  16. 21 Jul, 2006 1 commit
  17. 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.
  18. 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.
    • Leigh Stoller's avatar
      Change to make mysql 5.X happy. The gist of this change is this that · 76a6bed4
      Leigh 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.
  19. 14 Apr, 2006 1 commit
  20. 11 Apr, 2006 1 commit
  21. 06 Feb, 2006 1 commit
  22. 03 Jan, 2006 1 commit
  23. 01 Dec, 2005 1 commit
    • Leigh Stoller's avatar
      Well, lets see if this fixes linktest! Changed the generation of the · b357f3c0
      Leigh 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.
  24. 27 Oct, 2005 1 commit
  25. 26 Oct, 2005 1 commit
  26. 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 event-sequences.  Use emulab-sync to
      	report errors between linktest daemons.  In addition to sending
      	REPORT events, send LOG events to the SIMULATOR agent so the
      	messages end up in the report e-mail.  Fix wait_all so it collects
      	child processes immediately and doesn't leave zombies lying
      	around.  Make the static route test work with topologies that
      	aren't fully connected.  Change ownership of the linktest error
      	files from root to the swapper.  Bump latency tolerance up to
      	* event/linktest/ltevent.c: Use event_schedule instead of
      	event_notify so the events go through the scheduler.
      	* event/linktest/run_linktest.pl.in: Wait for COMPLETE events
      	insetad of STOPs.
      	* event/linktest/linktest.h.in: Removed.
      	* event/sched/error-record.c: Include linktest error output in the
      	report e-mail.
      	* event/sched/event-sched.c: Linktest now sends COMPLETE events
      	for START events.
      	* tbsetup/gentopofile.in, tmcd/common/config/rc.topomap: Piggy
      	back the generation and management of the linktest config file
      	onto the generation of the topomap.
      	* tbsetup/ns2ir/sim.tcl.in: Add "linktest" event to the Simulator
      	object that runs linktest at level 3 (latency, static routing, and
      	* tmcd/common/libsetup.pm: Add TMLTMAP constant that contains the
      	path to the node local linktest config file.
      	* tmcd/common/rc.linktest: Pass '-u' option to the linktest daemon
      	so it knows what user should to change ownership of files to.
      	* tmcd/freebsd/jail/mkjail.pl: Copy the linktest config file
      	(ltmap) into the jail.
  27. 08 Sep, 2004 1 commit
  28. 03 Jun, 2004 1 commit
  29. 02 Jun, 2004 1 commit
  30. 01 Jun, 2004 1 commit
    • Leigh Stoller's avatar
      New program, called at prerun time, to generate a virtual topology · a9dea43d
      Leigh 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
      	node-1,lan0: link0:
      	# lans: vname,mask,cost
      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.