1. 25 May, 2006 1 commit
  2. 24 May, 2006 3 commits
  3. 23 May, 2006 2 commits
  4. 22 May, 2006 2 commits
  5. 19 May, 2006 1 commit
  6. 18 May, 2006 2 commits
    • Leigh B. Stoller's avatar
      Remove temporary files. · d6b24e99
      Leigh B. Stoller authored
      d6b24e99
    • 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
        tables.
      4d663bb8
  7. 16 May, 2006 1 commit
  8. 15 May, 2006 3 commits
    • 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
      point.
      fefc08bb
    • Mike Hibler's avatar
      Add a couple of missing prototypes · 98792b77
      Mike Hibler authored
      98792b77
    • 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=155.98.36.3 MAC=00d0b713f57d
          NAME=plab1 ROLE=node IP=155.98.36.10 MAC=0002b3877a4f
          NAME=plab2 ROLE=node IP=155.98.36.34 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.
      9512772e
  9. 12 May, 2006 1 commit
    • 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.
      78503406
  10. 11 May, 2006 1 commit
    • Mike Hibler's avatar
      Initial support for plab-in-elab: · 088c8e74
      Mike Hibler authored
      * setup some fields that parallel the
        elab-in-elab ones, for modifying the dhcpd.conf file.
      
      * tb-set-node-plab-role to set a node as either 'plc' or 'node'
        used to set the DB role field above
      088c8e74
  11. 09 May, 2006 1 commit
  12. 08 May, 2006 2 commits
  13. 05 May, 2006 1 commit
  14. 04 May, 2006 4 commits
    • Kirk Webb's avatar
      · 662e924f
      Kirk Webb authored
      Fixed up vlan listing function under (apparently) new variable scoping rules
      in perl 5.8.
      662e924f
    • Kirk Webb's avatar
      · 511e860b
      Kirk Webb authored
      Function prototypes for perl 5.8
      511e860b
    • Kirk Webb's avatar
      · 6855e42e
      Kirk Webb authored
      Fix "illegal character in prototype" message.
      6855e42e
    • Mike Hibler's avatar
      attempt 2 at swap retry fix · 219680e7
      Mike Hibler authored
      219680e7
  15. 02 May, 2006 2 commits
  16. 26 Apr, 2006 2 commits
    • Mike Hibler's avatar
      Include osfeatures in the "physical" topo map. · cccd82d9
      Mike Hibler authored
      This way, the linktest instances can know who will be running linktest
      and who will not and thus we can run on a subset of nodes.
      cccd82d9
    • Leigh B. Stoller's avatar
      Change to make mysql 5.X happy. The gist of this change is this that · 76a6bed4
      Leigh B. Stoller authored
      there is a query (by Mike I think) that has this form:
      
                SELECT * FROM t1, t2 JOIN t3 ON  ...
      
      Prior to 5.X, the comma operator had the same precedence as join, and
      so it was evaluated left to right. Well, now comma is lower then join
      and this query breaks cause the right side is evaluated before the
      left side. The solution is simply:
      
                SELECT * FROM (t1, t2) JOIN t3 ON  ...
      
      but as the manual points out, why not just use:
      
                SELECT * FROM t1 JOIN t2 JOIN t3 ON ...
      
      and avoid precedence issues.
      76a6bed4
  17. 25 Apr, 2006 2 commits
  18. 17 Apr, 2006 1 commit
  19. 14 Apr, 2006 1 commit
  20. 11 Apr, 2006 1 commit
  21. 06 Apr, 2006 1 commit
  22. 05 Apr, 2006 1 commit
    • Robert Ricci's avatar
      A couple changes to VLAN locking: · 4bad01f4
      Robert Ricci authored
      First, don't retry so many times. The old value of 40 tries was set
      before snmpitSetWarn() was around. snmpitSetWarn() itself retries 10
      times, so we were trying 400 times before giving up!
      
      Second, if grabbing the edit buffer lock fails, try to find out if
      someone else is holding it, and print the owner.
      4bad01f4
  23. 01 Apr, 2006 1 commit
  24. 31 Mar, 2006 3 commits