1. 14 Jun, 2003 4 commits
  2. 13 Jun, 2003 1 commit
  3. 12 Jun, 2003 5 commits
  4. 11 Jun, 2003 5 commits
  5. 10 Jun, 2003 9 commits
  6. 09 Jun, 2003 6 commits
  7. 06 Jun, 2003 10 commits
    • Shashi Guruprasad's avatar
      fd2f7a62
    • 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
    • Mac Newbold's avatar
      Add new constants for TBCOMMAND events. · 905b8569
      Mac Newbold authored
      905b8569
    • Mac Newbold's avatar
      Checkpoint changes for StateWait module. Mostly just stubs now, so it · 12a6a5f4
      Mac Newbold authored
      obviously doesn't get used anywhere yet.
      12a6a5f4
    • Leigh B. Stoller's avatar
      Write a secondary zone file that holds the contents of the main zone, · 914b4b9e
      Leigh B. Stoller authored
      plus the IN and CNAME records for the locally allocated virtnodes:
      
        pcvm82-2				IN      A       172.16.82.2
        node3.jail3-2link-full.testbed          IN     CNAME   pcvm82-2
      914b4b9e
    • Robert Ricci's avatar
      Change the way power cycles are handled - in the child fork()ed to · 942a2bc5
      Robert Ricci authored
      reboot a node, we never call power directly. Instead, exit with
      a status of 2 - the parent process collects a list of nodes that
      needed power cycling, and does them all in one call.
      942a2bc5