1. 30 Oct, 2003 1 commit
  2. 24 Oct, 2003 1 commit
  3. 06 Oct, 2003 1 commit
    • Leigh B. Stoller's avatar
      * New libtmcc.pm module that encapsulates the tmcc interface. Most of the · 434a472a
      Leigh B. Stoller authored
        code that was in libsetup has moved into this library, and underwent a
        giant cleaning and pumping up. The interface from your typical perl
        script now looks like this:
        use libtmcc;
        if (tmcc(TMCCCMD_STATUS, "optional arguments", \@tmccresults) < 0) {
            warn("*** WARNING: Could not get status from server!\n");
            return -1;
        foreach my $me (@tmccresults) {
      	print "bite $me";
        The arguments and results are optional values. There is a fourth optional
        value that is a hash of config options (basically converted to command
        line switches passed to tmcc). For example, to set the timeout on an
        individual call, pass a fourth argument like:
      	("timeout" => 5)
        There is also a way to set global options so that all subsequent tmcc
        calls are affected:
      	configtmcc("timeout", 5);
        I'll probably clean this up a bit to avoid the direct strings.
        The result list is a list of strings. Since we are trending away from
        using tmcc to transfer large amounts of data, I think this is okay.
      * A new tmcc.pl which does little more than load libtmcc and use it.
        This will become the new tmcc, with the existing C version becoming a
        backend binary for it.
      * All of the perl scripts in tmcd have been changed to use the new
        library. I left the few uses of tmcc in shell scripts alone since they
        were of the simple variety (mostly "state" command).
      * And again, if you have read this far, you will learn why I bothered with
        all this. Well, the existing code was really bad and it was getting out
        of control. Sort of like a squid that was getting harder to control as
        its rotting tenticles slithered into more and more scripts. Anyway ...
        More important, my goal is to use the libtmcc library to add caching.  I
        have not worked out the details yet, but I am envisioning a configuration
        file, perhaps generated initially by tmcd, of all of the config
        values. If the library finds that file, it sucks the info out of the file
        instead of going to tmcd. Eventually, this config file would be generated
        as part of experiment swapping and stored in the DB, but thats a longer
        term project, and perhaps orthogonal (how we fill the cache is not as
        important as adding the ability to use a cache, right?).
        Note that certain operations (like "state" and "ready") are flagged by
        the library to always bypass the "cache".
  4. 25 Sep, 2003 1 commit
  5. 23 Sep, 2003 1 commit
  6. 22 Sep, 2003 1 commit
  7. 17 Sep, 2003 1 commit
  8. 16 Sep, 2003 1 commit
    • Leigh B. Stoller's avatar
      More IXP changes: · 47ddaeb0
      Leigh B. Stoller authored
      * Put a hosts file in /opt/config, which gets copied to /etc/hosts on
        the IXP.
      * Put a resolv.conf in /opt/config, which gets copied to /etc on
        the IXP.
      * Add support for startcmd, which will override the default boot.
      * Do not squash root in the /opt export.
  9. 02 Sep, 2003 1 commit
    • Leigh B. Stoller's avatar
      Initial IXP support. Very primitive; the IXP does not configure from · 9da75cd2
      Leigh B. Stoller authored
      inside, but rather I do just enough to get the card booted (using
      Abhijeet's minicom/expect scripts, but with changes to support the
      configuration coming from tmcd. I also create a file of interface and
      routeadd directives, so that the network configures properly, but
      thats about it. Getting a more complete client side environment that
      includes perl and sshd for the arm will have to wait.
  10. 26 Aug, 2003 1 commit
  11. 20 Aug, 2003 1 commit
  12. 19 Aug, 2003 1 commit
  13. 15 Aug, 2003 2 commits
  14. 14 Aug, 2003 1 commit
  15. 24 Jul, 2003 2 commits
  16. 22 Jul, 2003 1 commit
    • Kirk Webb's avatar
      · d356ef16
      Kirk Webb authored
      Here we have the Linux delaysetup startup script - first revision.  This
      uses iproute2+tc, modprobe, and iptables to setup traffic shaping.
      A few notes are warranted:
      1) [g]red is not yet supported
         - need to make these modules classful in the kernel first
      2) sysctls are used here to up the amount of buffer space available for
         sk_bufs (socket buffers).  Couldn't see a place to do this in the kernel
      3) Only linkdelay support is implemented
         - probably could add normal delay-node support without too much trouble.
      4) reverse pipe numbers are (currently) ignored
         - not needed since the IMQ device used to shape incoming traffic
           is distinct from the actual interface - no namespace collision.
      5) Kernel selection is similar to FBSD: check running kernel, and reboot
         if the kernel version isn't what we expect (have to rerun lilo too)
  17. 24 Jun, 2003 1 commit
  18. 16 Jun, 2003 1 commit
  19. 06 Jun, 2003 1 commit
  20. 04 Apr, 2003 3 commits
  21. 02 Apr, 2003 1 commit
  22. 14 Mar, 2003 1 commit
  23. 07 Mar, 2003 1 commit
  24. 15 Jan, 2003 3 commits
  25. 07 Jan, 2003 1 commit
  26. 06 Jan, 2003 1 commit
  27. 18 Dec, 2002 8 commits