1. 06 Jan, 2004 1 commit
  2. 31 Dec, 2003 3 commits
  3. 29 Dec, 2003 1 commit
  4. 28 Dec, 2003 2 commits
  5. 26 Dec, 2003 4 commits
  6. 23 Dec, 2003 1 commit
  7. 19 Dec, 2003 1 commit
  8. 17 Dec, 2003 1 commit
    • Leigh B. Stoller's avatar
      Remove code that required tmcd to run as root, and add the necessary · 55b431cf
      Leigh B. Stoller authored
      code to run as uid/gid nobody/nobody. I had to remove dolog(), which
      was to support the oskit on the dnards, so no one will miss that!
      I also removed the tar/rpm download support since we now do that via
      the web interface. To support sfshostid, I had to chown/chgrp
      /proj/.sfs to the nobody/nobody so that tmcd willbe able to create the
      symlinks in that directory.
      55b431cf
  9. 16 Dec, 2003 1 commit
  10. 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.
      d266bd71
  11. 12 Dec, 2003 1 commit
  12. 10 Dec, 2003 1 commit
  13. 09 Dec, 2003 1 commit
  14. 07 Dec, 2003 1 commit
    • Shashi Guruprasad's avatar
      Minimal NSE related changes on the mainbed so that I can work · 425b4e47
      Shashi Guruprasad authored
      in the dev tree. I'm tired of problems on the mini that wastes
      my time.
      
      Changes include 2 new tmcd commands: tmcc routelist returns
      the routes for all the vnodes hosted on a pnode. tmcc role
      returns the role of a reserved node, like 'virthost' or
      'simhost.  tmcc ifconfig now reports an RTABID field which
      is calculated in assign wrapper. All the new changes
      in assign wrapper will be checked in after I finish testing.
      
      All the DB changes are in: simnode_capacity in node_types, rtabid in
      interfaces and veth_interfaces. New NSE event_objtype and NSEEVENT
      event_eventtype. Changed the erole field in the reserved table
      to have 'simhost' instead of 'simnode'. Changed the correspoding
      libdb subroutines.
      425b4e47
  15. 05 Dec, 2003 1 commit
  16. 03 Dec, 2003 1 commit
    • Leigh B. Stoller's avatar
      Fix up all of the sprintf calls to watch for output buffer overflow. I · 3aaf74e9
      Leigh B. Stoller authored
      did this with a simple macro called OUTPUT() that does the check and
      bails from the current function. This was as boring and tedious as
      life gets, but we should be protected from stack smashing now.
      
      Also fixed up a couple cases where we take data from the client;
      make sure that the sscanf calls are bounded.
      3aaf74e9
  17. 01 Dec, 2003 2 commits
  18. 21 Nov, 2003 4 commits
    • Mike Hibler's avatar
      Tweaks to support e1000 cards on the pc2000s. Installing this will break · 21e9611f
      Mike Hibler authored
      pc170-1 until those nodes actually have e1000 cards installed (next week).
      21e9611f
    • Mike Hibler's avatar
    • Mike Hibler's avatar
      Make sure we can hardwire speed/duplex on new Intel Pro/1000 (e1000) cards. · 5ad5ab99
      Mike Hibler authored
      Need to use ethtool instead of mii-tool to do this.  My comment:
      
        #
        # Linux is apparently changing from mii-tool to ethtool but some drivers
        # don't support the new interface (3c59x), some don't support the old
        # interface (e1000), and some (eepro100) support the new interface just
        # enough that they can report success but not actually do anything.  Sweet!
        #
      
      This requires that we load ethfind on the nodes, though the script will
      continue to work if it isn't (though will not work for e1000 cards).
      5ad5ab99
    • Mike Hibler's avatar
      Hack fix for an apparent boot-time race condition. Our pump-invoked · 633a7a12
      Mike Hibler authored
      sethostname script properly sets the hostname, but sometimes that hostname
      gets overridden by one of the static boot scripts which sets the hostname
      back to "localhost".  The sequence is something like:
      	pump runs on eth0 and fires off our sethostname script
      	sethostname blocks
      	ifup of eth1 starts, determines that hostname hasn't been
      	  set (i.e., is set to "localhost") and remembers (NEEDHOSTNAME)
      	sethostname finishes by setting the host name
      	ifup of eth1 finishes, seeing NEEDHOSTNAME is set but doesn't
      	  have anything to set it to so resets to "localhost"
      Weird.  Hack is to make sure it never thinks it needs to set the hostname
      by setting it to something that is not "localhost".  We do this once we
      identify the control net interface (and thus know we will be running pump RSN).
      633a7a12
  19. 12 Nov, 2003 3 commits
  20. 07 Nov, 2003 1 commit
  21. 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.
      70246c91
  22. 30 Oct, 2003 1 commit
  23. 27 Oct, 2003 3 commits
  24. 24 Oct, 2003 2 commits
    • Robert Ricci's avatar
      Commit the stuff necessary to copy out new plab rootballs, versions of · d12f9b61
      Robert Ricci authored
      which had been hanging around in my home directory for a while.
      
      There are a few new things in plab/etc/netbed_files that set up a
      directory of the same name in @prefix@. This will get rsync'ed with
      netbed_files/ on each planetlab node.
      log/  - just needs to exist for the httpd server
      sbin/ - contains thttpd, and scripts to manipulate it
      www/  - the directory served by thttpd. Contains symlinks to the 'real'
              location of the rootballs (etc/plab)
      
      I've committed a binary of thttpd - this is simply because it'd be a
      PITA to compile a Linux binary for every devel tree, etc.
      
      PLAB_ROOTBALL has now become a configure options. The idea is that we
      will keep the latest version number in configure.in, but you can
      override it in your defs
      file. This way, we don't have to update every defs file when there's a new
      version, but people can still play around with their own version if they want.
      
      The two scripts that interact with the plab nodes skip ones that are
      down. They ssh in as 'utah1', meaning that one of us who has access to
      that account needs to run them, so that they can have access to our
      keys. We can put boss's public key (or something) out there to remove
      this requirement.
      
      plabdist runs an rsync between @prefix@/etc/plab/netbed_files and a
      file of the same name on the planetlab nodes. It's intended to be run
      from the main install tree - the local rsync directory is not normally
      set up in devel trees. It runs in parallel, but is limited to 4 to
      avoid beating up boss too much. Takes about 1:40 with the current set
      of plab nodes (took > 10 minutes doing one at a time).
      
      plabhttpd (re)starts the mini web server on all plab nodes
      d12f9b61
    • Mike Hibler's avatar
      84bf73a5
  25. 23 Oct, 2003 1 commit