1. 05 Oct, 2015 1 commit
    • Mike Hibler's avatar
      Fix more issues with reverse (aka, "show most recent") option. · 7ad2db71
      Mike Hibler authored
      If both -r and -n (number of records) was given (i.e., as called via the
      web page), then we were still fetching the oldest N records but then
      presenting those most recent first. Not real useful. Now we use sub-query fu
      to fetch the most recent N records but still keep those in oldest-to-newest
      order for processing.
      
      Also, removed two-field-order-by hack as sorting on just the timestamp now
      seems to use the index and no longer does a filesort.
      
      Don't generate summary info when the -x (history index) option is given.
      7ad2db71
  2. 22 Sep, 2014 1 commit
  3. 25 Oct, 2013 2 commits
  4. 18 Feb, 2013 1 commit
  5. 13 Feb, 2013 1 commit
  6. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      
      This commit is intended to clear up that confusion.
      
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      (AGPLv3).
      
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      license.
      
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
      (LGPL).
      6df609a9
  7. 14 Sep, 2012 1 commit
    • Leigh Stoller's avatar
      Minor bug fix. · 84336ab0
      Leigh Stoller authored
      The call from suexec appears to turn extra spaces at the end of the
      command line, into an extra argument. Ick.
      84336ab0
  8. 17 Jul, 2012 1 commit
    • Leigh Stoller's avatar
      Add tracking of control net mac addresses in the node_history. · bb66f52e
      Leigh Stoller authored
      For InstaGeni, need to record and be able to search for history by
      control net mac address. We now record this in the node_history table,
      with corresponding change to the ShowNodeHistory web page.
      
      The backend changes required are that we 1) actually generate a mac
      address for VMs and stick it into the interfaces record, 2) return
      that mac from tmcd in the jailconfig, and 3) have the openvz library
      create the control net interface using that mac.
      
      On the openvz image, needed to switch to using a control network
      bridge for all interfaces (not just routable ones) so that traffic
      leaves the node with the correct mac.
      bb66f52e
  9. 18 Jun, 2012 1 commit
  10. 30 May, 2012 1 commit
  11. 24 May, 2012 1 commit
  12. 10 May, 2012 1 commit
    • Leigh Stoller's avatar
      Add a couple of indexes to the node_history to speed up the query. · e20392b3
      Leigh Stoller authored
      Also, when calling with -A (showall) and -n (number of records),
      lets not read the entire 5 million rows and then throw away everything
      but the first 20. Takes about an hour.
      
      In general this script needs some work.  Would also be nice to page
      through records by specifying an index to start with.
      e20392b3
  13. 21 Apr, 2012 1 commit
  14. 29 Feb, 2012 1 commit
    • Leigh Stoller's avatar
      Improve cross referencing between geni-cm and emulab datbases. · f1a659b8
      Leigh Stoller authored
      Add a datetime form to the shownodehistory we page so that a testbed
      admin can plug in a specific date, and find out what that node was
      doing at the time. Changes in the backend (node_history script) to
      support this. Note that the table is hard to seach for such a case,
      and so need to let node_history do its thing and then port process the
      records list. Unfortunately, the timestamps are unsigned ints, but
      perl does not handle those properly, so had to pull in Math::BigInt to
      deal with it.
      
      On the output page, include a link to the genihistory page if a node
      was part of a slice.
      
      On the genihistory page, add a new argument, slice_uuid, to look for
      the records for a specific slice.
      f1a659b8
  15. 28 Jan, 2005 1 commit
  16. 14 Jan, 2005 1 commit
  17. 13 Jan, 2005 1 commit