1. 04 Sep, 2003 6 commits
    • Leigh B. Stoller's avatar
      Change the way the rc.ifc and rc.routes interact, using the src · 5ecc3cc7
      Leigh B. Stoller authored
      address of the interface instead of the dest&mask, which was bogus
      anyway, and now wrong in the presence of variable netmasks for the
    • Leigh B. Stoller's avatar
      Fix minor cvs merge error. · 95159da9
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Bring back variable netmask code from revision 1.180, with some minor · 88a1d534
      Leigh B. Stoller authored
      changes; Print a warning when the DB slots are null, and return
      standard This is for the transition phase.
      Also add version 12 modification to routerconfig; return the "src"
      from the virt_routes table, so that the client side can figure out
      what interface the route is associated with. There are associated
      changes in libsetup to ifconfig,routerconfig,tunnelconfig.
    • Robert Ricci's avatar
      Add support for the 'disallow_trivial_mix' flag to nodes in the top · 6c739011
      Robert Ricci authored
      file - if set, it means that the vnode is not allowed to have a
      mix of trivial and 'real' links - all must be one type or the other.
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Add variable netmask support to the parser. You can now do this in · 7d524fde
      Leigh B. Stoller authored
      your NS file:
      	tb-set-netmask $lan0  ""
      	tb-set-netmask $link0 ""
      	tb-set-netmask $link1 ""
      Yep, more rope for the user to hang herself with. Notes:
      * You are restricted to 255.255.XXX.XXX. I did not see a reason to
        allow the user that much rope.
      * get_subnet can handle 10 or 192.168 addresses so that other sites
        can continue to operate without changing to 10 addresses, although
        they will still be able to change the netmask.
      * I've changed the handling for widearea networks to use 192.168, but
        I force the netmask to so that we are not restricted
        to just 255 networks (not that it really matters). To avoid possible
        confusion, the user is not allowed to choose their own IPs for
        widearea networks, and I actually set them to 1.1.x.x, and then
        patch it up later. This is to avoid conflict with existing
        experiments where people may have used tb-set-ip in their NS files.
      * There are tmcd and staticroutes and image changes that are required
        to make this all work right!
  2. 03 Sep, 2003 13 commits
  3. 02 Sep, 2003 10 commits
  4. 01 Sep, 2003 2 commits
  5. 29 Aug, 2003 6 commits
    • Mike Hibler's avatar
      (Most of) the rest of the gated-in-jail changes. · 7ad42ea2
      Mike Hibler authored
      Add a -V option to mkjail.pl telling it to use the virtual control net
      IP ( for the default route instead of the real control net
      IP (  In this case, it also assigns a virtual control net
      IP alias (172.17.<pnode>.0) to the physical interface so that the
      aforementioned routes can actually be installed.
      Add the same -V option (only valid with -j) in vnodesetup so that we
      can get it through from bootvnodes.  (Also cleaned up the usage message
      The virtual control net address/mask are currently constants in mkjail.pl.
      At some point they can/should be changed to config time options so that we
      can easily use this on minibed too.
      In theory, this (-V) shouldn't be an option and we should just use
      virtual control net routing all the time.  But I want to get some more
      testing and we have to resolve the minibed conflicts first.  So for now,
      this is an option and it is off by default.
      Haven't tied this option in with gated yet, so creating a vnode experiment
      with Session routing still won't work.  If you want to do that, create the
      experiment, watch gated blow up right and left, login to all the physical
      nodes and change bootvnodes to add -V to the invocation of vnodesetup,
      and then reboot everything.  Now it should be working!
    • Leigh B. Stoller's avatar
      Add a setpriority call to nice the whole thing to 15. Lets see if this · 509227ed
      Leigh B. Stoller authored
      keeps boss from getting pummeled.
    • Kirk Webb's avatar
      Omit final size report in create_image since NFS caching usually screws up · 42bc4b9e
      Kirk Webb authored
      a correct final reading.
    • Leigh B. Stoller's avatar
      Test for imagename <= sizeof(os_info.osname) since that is shorter · f04ac49c
      Leigh B. Stoller authored
      than imagename, and this ID is used in both tables. They should be the
      same length in the DB, and I have added a TODO item for it.
    • Mike Hibler's avatar
      Remove the last checkin since it causes the physical node associated with · b7763464
      Mike Hibler authored
      a vnode to be rebooted.
    • Leigh B. Stoller's avatar
      Temporary patch to solve the non-connected veth interface problems, · 5f214b74
      Leigh B. Stoller authored
      which happens on lans of vnodes that are split between pnodes. assign
      spits out trivial links for the nodes collocated on the pnodes, but if
      there are two groups of vnodes on different pnodes, the connection is
      not explicit in the link statements that assign gives (techinically,
      they should not be trivial links, but Rob is still thinking that
      over). Fortunately, I have enough info from assign to extend the vlan
      and to patch the veth interfaces afterwards. Its god-awful stuff, and
      I hope I can strip it out soon.
  6. 27 Aug, 2003 3 commits