1. 27 Apr, 2005 1 commit
    • Leigh B. Stoller's avatar
      A set of changes to allow the newnode path (MFS and adding nodes) to · 94d97303
      Leigh B. Stoller authored
      work inside ElabInElab.
      
      The crux of this is to emulate what switchmac does when incorporating nodes
      into the testbed. Rather then using snmpit to ask the switches for MAC info,
      we can just ask outer emulab via the proxy to get that same info from the
      DB. Note, there are no changes to the newnode MFS; it will boot and happily
      report it after launching teachswitch, but those packets are harmless to the situation.
      
      Another wrinkle is that we need the outer emulab to tell us which
      interfaces are control and which are experimental, since inside there
      is no real way to determine that. I did this by overloading the final
      field in the return from switchmac, and using that to override the
      "role" setting that utils/newnode would normally choose on its own.
      
      There is another new routine in the XMLRPC server that is intended to
      be used for bypassing the newnode path. This is not hooked into
      anything yet, but the intent is that rather then using the web
      interface to "add" nodes, we just return everything needed to seed the
      new_nodes and new_interfaces table, and then run newnodes directly.
      94d97303
  2. 10 Jun, 2004 1 commit
  3. 04 Jun, 2004 1 commit
  4. 28 Apr, 2004 1 commit
  5. 05 Nov, 2003 2 commits
  6. 10 Sep, 2003 1 commit
  7. 28 Jul, 2003 1 commit
  8. 17 Jul, 2003 1 commit
    • Robert Ricci's avatar
      Use card numbers rather than iface names. · b9bc3a5e
      Robert Ricci authored
      Provide a way to re-number interfaces, in case the MFS discovers
      them in something other than the preffered (ie. Linux) order.
      
      Use the switch class from showmac to avoid problems where there is
      leakage between the control and experimental net, so we see a MAC
      on both.
      
      Fix a dumb php bug - can you beleive the in_array() function wasn't
      in php3?
      b9bc3a5e
  9. 14 Jul, 2003 1 commit
    • Robert Ricci's avatar
      Web interface for autoconfiguring nodes. This consisits of two pages, · 6ad7d688
      Robert Ricci authored
      one that lists and allows operations on a number of nodes at once, and
      another that allows editing of an individual node.
      
      Split much of the functionality of newnodecheckin.php into a new
      library, so it can get re-called from newnodes_list.php3 later.
      
      Move where we look for MACs on the switches - instead of doing in in
      newnode, call it from newnodecheckin.php - this provides the admins
      more feedback as to what's going on, and allows them to call it again
      later or put the information in by hand.
      6ad7d688