1. 23 Mar, 2004 4 commits
  2. 20 Mar, 2004 1 commit
    • Mike Hibler's avatar
      Two fubars: · 54046b58
      Mike Hibler authored
      1. make sure we send an immediate isalive on startup rather than waiting
         for the first interval to pass
      2. don't fall back on a tcp call on plab nodes, this just eventually hangs
         all our tmcds on flaky plab machines
  3. 18 Mar, 2004 1 commit
    • Mike Hibler's avatar
      The new watchdog: · 4d037e7c
      Mike Hibler authored
      	- check intervals driven by sitevars delivered by TMCD command
      	- handles rusage stats return on plab nodes
      It is now a single process and executes any auxilliary scripts synchronously.
      This may prove to be unwieldy in the face of long running scripts like
      update.  If so, we'll have to add all that fork/exec/waitpid mucky-muck.
  4. 17 Mar, 2004 1 commit
  5. 15 Mar, 2004 4 commits
  6. 09 Mar, 2004 1 commit
  7. 26 Feb, 2004 3 commits
  8. 20 Feb, 2004 1 commit
    • Leigh B. Stoller's avatar
      A bunch of little changes to make the Redhat 9.0 image work in a · 8551d9a7
      Leigh B. Stoller authored
      passable manner. Mostly this change overwrites Mike's changes for
      dealing with the pump race. Rather than setting ONBOOT="yes" for all
      interfaces (which is what triggers the pump race), only set the control
      interface to ONBOOT="yes", all the others get ONBOOT="no" so that
      ifup will not be called on them. Also remove the hostname set from the
      ifcfg scripts since that totally messes up dhclient-script, which is what
      is used in Redhat 9.0 (instead of pump).
      The problem with ONBOOT="no" is that the interfaces will not get
      probed if ifup is not called. This messes up testbed ifconfig later.
      So, added an rc.linux script that does just the probe for all interfaces.
      This script is called from rc.bootsetup, if rc."osname" exists.
  9. 17 Feb, 2004 2 commits
    • Leigh B. Stoller's avatar
      Medium size cleanup of the client side code. The main impetus behind · 069dc7d3
      Leigh B. Stoller authored
      this was to add soft reconfig support so that nodes could be
      reconfigured without having to reboot them. This appears to work, and
      has been tested with jails getting moved around. I've also tested the
      new code on the MFS, but still no testing has been done on PLAB nodes.
      The main change is that most of the code moved out of libsetup.pm, and
      was split into constituent rc scripts, each of which does its own
      thing, including cleaning up and preparing for making an image. Most
      of that central knowledge has been moved out into the scripts. Still more
      to do but this was a good start.
    • Leigh B. Stoller's avatar
  10. 14 Feb, 2004 1 commit
  11. 29 Jan, 2004 2 commits
  12. 28 Jan, 2004 1 commit
  13. 20 Jan, 2004 3 commits
  14. 14 Jan, 2004 2 commits
  15. 10 Jan, 2004 1 commit
  16. 26 Dec, 2003 2 commits
  17. 23 Dec, 2003 1 commit
  18. 19 Dec, 2003 1 commit
  19. 15 Dec, 2003 1 commit
    • Shashi Guruprasad's avatar
      Distributed NSE changes. In other words, simulation resources are · d266bd71
      Shashi Guruprasad authored
      now mapped to more than one PC if required. The simnode_capacity
      column in the node_types table determines how many sim nodes can
      be packed on one PC. The packing factor can also be controlled via
      tb-set-colocate-factor to be smaller than simnode_capacity.
      - No frontend code changes. To summarize:
        $ns make-simulated {
        is still the easy way to put a whole bunch of Tcl code to be
        in simulation.
        One unrelated fix in the frontend code is to fix the
        xmlencode() function which prior to this would knock off
        newlines from columns in the XML output. This affected
        nseconfigs since it is one of the few columns with embedded
        newlines. Also changed the event type and event object type
        in traffic.tcl from TRAFGEN/MODIFY to NSE/NSEEVENT.
      - More Tcl code in a new directory tbsetup/nseparse
        -> Runs on ops similar to the main parser. This is invoked
           from assign_wrapper in the end if there are simnodes
        -> Partitions the Tcl code into multiple Tcl specifications
           and updates the nseconfigs table via xmlconvert
        -> Comes with a lot of caveats. Arbitrary Tcl code such as user
           specified objects or procedures will not be re-generated. For
           example, if a user wanted a procedure to be included in Tcl
           code for all partitions, there is no way for code in nseparse
           to do that. Besides that, it needs to be tested more thoroughly.
      - xmlconvert has a new option -s. When invoked with this option,
        the experiments table is not allowed to be modified. Also,
        virtual tables are just updated (as opposed to deleting
        all rows in the first invocation before inserting new rows)
      - nse.patch has all the IP address related changes committed in
        iversion 1.11 + 2 other changes. 1) MTU discovery support in
        the ICMP agent 2) "$ns rlink" mechanism for sim node to real
        node links
      - nseinput.tcl includes several client side changes to add IP
        routes in NSE and the kernel routing table for packets crossing
        pnodes. Also made the parsing of tmcc command output more robust
        to new changes. Other client side changes in libsetup.pm and other
        scripts to run nse, are also in this commit
      - Besides the expected changes in assign_wrapper for simulated nodes,
        the interfaces and veth_interfaces tables are updated with
        routing table identifiers (rtabid). The tmcd changes are already
        committed. This field is used only by sim hosts on the client side.
        Of course, they can be used by jails as well if desired.
  20. 21 Nov, 2003 1 commit
  21. 12 Nov, 2003 1 commit
  22. 07 Nov, 2003 1 commit
  23. 05 Nov, 2003 1 commit
    • Leigh B. Stoller's avatar
      Client side of the event system changes. · 70246c91
      Leigh B. Stoller authored
      * Download the eventkey with new tmcd call.
      * Pass -k option to various agents so that they can verify the HMACs
        in the incoming notifications.
      * Change program agent; The list of agents from tmcd now includes the
        command, which is written to a config file for the program-agent to
        read in. The command string in the event is now ignored.
      * Build the local proxy for linux, and add the goo to start the local
        elvind and use the proxy. It has been this way on FreeBSD for a
        while, but I never got it installed for Linux before now.
  24. 27 Oct, 2003 1 commit
  25. 23 Oct, 2003 1 commit
  26. 21 Oct, 2003 1 commit