1. 24 May, 2006 11 commits
  2. 23 May, 2006 3 commits
  3. 22 May, 2006 4 commits
  4. 19 May, 2006 5 commits
  5. 18 May, 2006 3 commits
    • Kirk Webb's avatar
      · ebfdfbf7
      Kirk Webb authored
      Fixup the plabconfig command in tmcd to return immediately if the calling node
      is not a plab vserver (sliver).
    • Leigh B. Stoller's avatar
      Remove temporary files. · d6b24e99
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Address a number of issues raised by Mike. The most notable: · 4d663bb8
      Leigh B. Stoller authored
      * Rework metadata to be somewhat more general so that they can be used for
        things like parameter descriptions.
      * My own little part of javascript hell ... add a highlight around the
        "current" template in the template graph. Sheesh!
      * Add more tooltips (using the tooltip library). When you mouseover the
        metadata or descriptions, the formatted text is shown in a tooltip,
        which is handy when the valus is truncated cause its too long for the
  6. 17 May, 2006 1 commit
  7. 16 May, 2006 4 commits
  8. 15 May, 2006 7 commits
    • Leigh B. Stoller's avatar
      Lets try a different fix. · 30a8fbc2
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Fix include error. · b30df6a3
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Lets not reuse the index of a failed experiment. This happens cause I · fefc08bb
      Leigh B. Stoller authored
      was using MAX(exptidx) from the experiments table. Instead, lets use
      a new one each time.
      This avoids a problem in the new template code I need to fix at some
    • Mike Hibler's avatar
      Add a couple of missing prototypes · 98792b77
      Mike Hibler authored
    • Mike Hibler's avatar
      Initial "Inner Plab" support. In your NS file, you declare one node: · 9512772e
      Mike Hibler authored
      tb-set-node-plab-role $plc plc
      to make it the PLC node.  Then any number of other nodes are declared as:
      tb-set-node-plab-role $plab1 node
      to make them inner plab nodes.  Unlike elabinelab, there is no magic
      "tb-plab-in-elab" command which implies the topology, you put all the
      plab nodes in a LAN or whatever yourself.  This may or may not be a good idea.
      Anyway, these NS commands set DB state in virt_nodes and reserved much like
      elabinelab.  During swapin, the dhcpd.conf file is rewritten so that
      inner plab nodes have their "filename" set to "pxelinux.0" and their
      "next-server" set to the designated PLC node.  The PLC node will then be
      loaded/booted before anything is done to the inner-plab nodes.  After
      it comes up, the inner plab nodes are rebooted and declared as up.
      There is a new tmcd command "eplabconfig" (suggestions for a new name
      welcom!), which returns info like:
          NAME=plc ROLE=plc IP= MAC=00d0b713f57d
          NAME=plab1 ROLE=node IP= MAC=0002b3877a4f
          NAME=plab2 ROLE=node IP= MAC=00d0b7141057
      to just the PLC node (returns nothing to any other node).
      The implications of this setup are:
       * The PLC node must act as a TFTP server as we have discussed in the past.
         The TMCC info above is hopefully enough to configure pxelinux, if not
         we can change it.
       * The PLC node is responsible for loading the disks of inner plab nodes.
         This is implied by the setup, where we change the dhcpd.conf file before
         doing anything to the inner nodes.  Thus, once the inner nodes are
         rebooted, they will be talking pxelinux with PLC, and not to boss.
         This step is dubious, as we could no doubt load the disks faster than
         whatever plab uses can.  But it simplified the setup (and is more
         realistic!).  The alternative, which is something that might be useful
         anyway, is to introduce a "state" after which nodes have been reloaded
         but before they are rebooted.  With that, we can reload the plab nodes
         and then change the dhcpd.conf file so when they reboot they start
         talking to the PLC.
    • Mike Hibler's avatar
      Add hack support for booting nodes coming out of PXEWAIT when they have · 940b5538
      Mike Hibler authored
      an alternate pxe_boot_path: when bootinfo is invoked for a node for which
      pxe_boot_path is non-NULL and doesn't look like the RE: '.*pxeboot.*'
      then we tell the node to reboot so that it will come back up in the
      proper PXE boot program.
    • Mike Hibler's avatar
  9. 12 May, 2006 2 commits
    • Leigh B. Stoller's avatar
      Redo the entire template library. I've been meaning to use perl · 78503406
      Leigh B. Stoller authored
      "object" and this was a good opportunity to see if they are useful and
      easy enough to use. Yep they are; the code is much cleaner with many
      fewer utility functions to get at stuff. I recommend this approach
      from now on.
      The problem is the php side, which ends up duplicating some stuff, but
      in the old style. This is not so bad for the template code since I
      have made it a point not to do anything but display functions in php;
      all modifications are handled in the backend.
    • Mike Hibler's avatar
      Rob approved fixup. · f8d54de3
      Mike Hibler authored