1. 14 Jun, 2003 8 commits
  2. 13 Jun, 2003 1 commit
  3. 12 Jun, 2003 5 commits
  4. 11 Jun, 2003 5 commits
  5. 10 Jun, 2003 10 commits
  6. 09 Jun, 2003 5 commits
  7. 07 Jun, 2003 1 commit
  8. 06 Jun, 2003 5 commits
    • Chad Barb's avatar
      · 2fad09a4
      Chad Barb authored
      NetBuild modify. Woot.
      
      Available only to admins for now.
      
      Link is available off "modify experiment page" in admin mode.
      2fad09a4
    • Leigh B. Stoller's avatar
      Add rtabid stuff throughout, although not used in the linux side of · 5991e780
      Leigh B. Stoller authored
      course; its an optional argument.
      
      Add group stuff; we get a group (csh, tsch) and a routine maps that
      into a valid path to use in the pw commands.
      5991e780
    • Mac Newbold's avatar
      Add new TBCOMMAND data to state_timeouts. · 1a126f4a
      Mac Newbold authored
      1a126f4a
    • Leigh B. Stoller's avatar
      Add crufty libsetup_setvnodeid, libsetup_getvnodeid so scripts can set · a9c08632
      Leigh B. Stoller authored
      the vnode on whose behalf they are operating. The library passes this
      through to tmcd.
      
      Move definition of the delay_mapping file in from liblocsetup so that
      it is easily exportable withou another hoop.
      
      Add configuration support for veth devices.
      
      Change route and ifconfig generated script to do enable/disable
      segments in the generated scripts so that per-jail configurations can
      be added/removed easily by mkjail.
      
      Add program agents configuration, with corresponding tmcd command to
      return the list of program objects for a node (or jail).
      
      Trafgens inside jails talk to the local elvind, not boss.
      
      dotunnels, doroute, doiconfig all take an optional rtabid and pass
      that through to libloc routines.
      
      Add trivial support for getting the user shell from tmcd.
      a9c08632
    • Mac Newbold's avatar
      First batch of changes for adding TBCOMMAND events. Currently, here's what · 71b82cc4
      Mac Newbold authored
      is supported:
      
      - stated listens for TBCOMMAND events, and currently handles REBOOT,
        POWEROFF, POWERON, and POWERCYCLE events. It does everything except make
        the actual calls to node_reboot and power. And it accepts batches of
        nodes instead of just single ones.
      
      - Timeouts were added to the db for these commands, with no timeout for
        the power ones (since the node can't hang during those), and a 15 second
        timeout from reboot until the SHUTDOWN state.
      
      - If a rebootimes out, it tries it again, up to 3 times. If it gets to
        three times without working, it sends mail to tbops and turns the
        machine off instead of continuing to reboot it. Right now I haven't
        made it do node_reboot -f or power cycle on retries, but it easily
        could.
      
      - Stuff to be done before they work: make node_reboot send an event
        instead of doing the work, and make a new script that has node_reboot's
        old guts. Note that this requires authentication in our events for these
        commands, and a way to make sure that the command that came in as an
        event was properly authenticated.
      
      - For future growth and expansion, it is set up so it should be relatively
        easy to add other commands that do different things, even if they take
        arbitrary params that aren't nodes or lists of nodes.
      71b82cc4