1. 08 May, 2002 15 commits
    • Robert Ricci's avatar
      Changed the order of arguments to schemadiff, so that the lines spit · dd2803ca
      Robert Ricci authored
      out can be fed directly to mysql to fix up the database.
      
      Also fixed up some weird capitalization that sneaked in somehow.
      dd2803ca
    • Leigh Stoller's avatar
      Checkpoint assign_wrapper changes (for virtual nodes). Add new code to · cc0a8796
      Leigh Stoller authored
      drop out virt_lans than include virtual nodes, until I get Chad's
      stuff integrated. Drop any pretense of supporting virtual nodes in a
      LAN; just die. Add tunnels table DB upload; tunnels are created
      in place of a vlan when the link includes a virtual node. The tunnel
      info is based on the virt_lans info of course, so that the user gets
      virtual devices with the appropriate IP address. There is some goo for
      determining who is the server and who is the client, and making sure
      that we start just a single server (in case a node has multiple
      tunnels). Also add post pass over virt_trafgens table to make sure
      that port assignments are unique (using new DB table). Oop, need to
      add something to make sure that IP addresses are unique too!
      
      Oh, clear out some obsolete code.
      cc0a8796
    • Robert Ricci's avatar
      Add support for link costs for routing algorithm. These are specified · 6425980a
      Robert Ricci authored
      in the NS file in one of two ways:
      
      $ns cost $nodeA $nodeB 2
      or
      $link0 cost 3
      (The latter form can also be used for LANs)
      
      This information is stored in the database in the cost column of the
      virt_lans table.  It's important to note that cost data is _not_
      divided between the two sides of the link, as things like delay and
      rdelay are. Since there are no physical devices (ie.  delay nodes)
      node that this configuration needs to be split up between, doing so
      would just be unnecessary work.
      6425980a
    • Leigh Stoller's avatar
      Add vnode_setup call for nodes that are marked as virtual (might be · d820506a
      Leigh Stoller authored
      remote, be local someday).
      
      BIG CHANGE: Start using the last_reservation table to auto reload
      nodes that are reallocated before they are reloaded by the reload
      daemon.
      d820506a
    • Leigh Stoller's avatar
      143c78bb
    • Leigh Stoller's avatar
      Add "tunnels" table cleanup. · 39cd8716
      Leigh Stoller authored
      Add call to vnode_setup -k when swapping out.
      39cd8716
    • Mac Newbold's avatar
    • Leigh Stoller's avatar
      Minor cleanup. · 8ba55190
      Leigh Stoller authored
      8ba55190
    • Leigh Stoller's avatar
      Add vnode_setup script to setup/teardown the vnode configuration on a · be4eb7bb
      Leigh Stoller authored
      remote node. Called out of os_setup and tbswapout (-k option to tear
      down the vnodes). Invokes the proper script on the remote node, with
      the vnodeid (vronXXX) as the key (which is passed along in tmcc to
      distinguish vnodes from each other).
      be4eb7bb
    • Leigh Stoller's avatar
      f3b2d956
    • Leigh Stoller's avatar
      Get rid of some warnings in last revision. · 63d2612e
      Leigh Stoller authored
      63d2612e
    • Leigh Stoller's avatar
    • Leigh Stoller's avatar
      Minor change to virt_trafgens table generation to make it easier to · 9e27dead
      Leigh Stoller authored
      post pass the table and reassign the port space (in assign_wrapper).
      9e27dead
    • Leigh Stoller's avatar
      Support for vnodes, plus some other changes: · 386c2778
      Leigh Stoller authored
      1) Merge in the accounts code that I did for ron. Instead of resetting
         the password file on each reboot, look at the node status to
         determine if the password/group file should be reset. If the
         node is free, reset it. Otherwise, we track changes to the password
         and group file now, so that users can change it and not have their
         changes wiped out at each reboot. I had to do this for the ron
         nodes so that the testbed software would not alter or delete
         already existing accounts; I keep a couple of little dbm files
         listing all the accounts/groups added. The only downside right now
         is if a node is reallocated before it is wiped clean; I plan to add
         an os_teardown phase to experiment termination asap.
      
      2) Add tunnels support. New DB table (tunnels) provides information
         for running vtund to link up to remote nodes. Creates a vtund.conf
         file on the fly, and fires them off. The complication is that you
         cannot do the ifconfigs or the routes until the tunnels are
         connected, so that stuff has to be configured within the vtund.conf
         file on a per tunnel basis. vtund.conf has some sections for
         running commands when tunnels are brought up or down.
      
      3) Damage the routing configuration code that Mike did. To support
         tunnels, as noted above, rc,route is no longer a simple list of
         commands, but a program that adds/dels routes based on the netmask,
         with a special "enable" section for the other stuff. This allows me
         to call it from vtund.conf for up/down on each tunnel'ed
         interfaces, as needed. Quite gross, but no way around it.
      
      4) For remote nodes, add a vnodesetup script, invoked from boss when
         experiments are setup/torndown. This gets the tunnel/route/trafgen
         configuration and runs them. It then goes into the background
         waiting for a death signal, at which time it brings them down and
         cleans out the vnode state.
      386c2778
    • Leigh Stoller's avatar
      Minor vpath rule change. · bfad5e85
      Leigh Stoller authored
      bfad5e85
  2. 07 May, 2002 7 commits
  3. 06 May, 2002 12 commits
  4. 05 May, 2002 3 commits
  5. 04 May, 2002 1 commit
  6. 03 May, 2002 1 commit
  7. 02 May, 2002 1 commit