1. 25 Sep, 2012 8 commits
  2. 24 Sep, 2012 5 commits
    • Mike Hibler's avatar
      Add check in "wedged" code to verify that the node is not already reloading. · 45ec3557
      Mike Hibler authored
      Due to a race with collecting events, it looks like some events will still
      slip through the crack and we might wind up having missed a transition after
      five minutes. If we see that we are already in RELOADING (the state transition
      we are looking for) when we would declare the node wedged, then fake the
      transition and continue.
      
      I suspect this would not happen if I just looped on event_poll til there
      were no more events, but I am afraid of letting that loop go unbounded.
      So til I gather more data, lets go with this hack check.
      45ec3557
    • Leigh B Stoller's avatar
      Hmm. · 9a2bb03c
      Leigh B Stoller authored
      9a2bb03c
    • Leigh B Stoller's avatar
      Minor bug fix. · f2f41448
      Leigh B Stoller authored
      f2f41448
    • Eric Eide's avatar
      Merge branch 'license-update' · c2076293
      Eric Eide authored
      c2076293
    • 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
  3. 23 Sep, 2012 4 commits
  4. 22 Sep, 2012 1 commit
  5. 21 Sep, 2012 3 commits
  6. 19 Sep, 2012 7 commits
  7. 18 Sep, 2012 3 commits
  8. 17 Sep, 2012 2 commits
  9. 14 Sep, 2012 7 commits
    • Leigh B Stoller's avatar
      Minor bug fix. · 84336ab0
      Leigh B Stoller authored
      The call from suexec appears to turn extra spaces at the end of the
      command line, into an extra argument. Ick.
      84336ab0
    • Weibin Sun's avatar
      enable,disable ports when add,delete ports done, test passed. · 89ab38d9
      Weibin Sun authored and Robert Ricci's avatar Robert Ricci committed
      89ab38d9
    • Weibin Sun's avatar
    • Weibin Sun's avatar
      1. getChannelIfIndex done, though not tested on boss yet. · e7ffa0cd
      Weibin Sun authored and Robert Ricci's avatar Robert Ricci committed
      2. convertPortFormat now support LACP port-channel index, which is:
         - for IfIndex: 1000000 + (port-channel#)
         - for Port class: card is 1000 and port is port-channel#
         - for Sysdb: Port-ChannelX, where X is port-channel#
      
      3. setVlanIfOnTrunk doesn't need change since convertPortFormat can
         deal with port-channel index.
      
      4. LACP port-channel is treated almost all the same as normal port by
         Arista Python API when doing VLAN operations, so all VLAN ops can work
         with port-channel without needs of change.
      
      5. The last, but most important, I don't have an active and workable
         physical port-channel to test on, so for now, let's just pray...
      
      Conflicts:
      	tbsetup/snmpit_test/snmpit_arista.pm.in
      e7ffa0cd
    • Leigh B Stoller's avatar
      Minor bug fix. · 8fd88f6f
      Leigh B Stoller authored
      8fd88f6f
    • Leigh B Stoller's avatar
      "improvements" to prereserve: · f7219346
      Leigh B Stoller authored
      New option -s datetime to specify a starting time for the pre-reserve.
      New option -e datetime to specify a ending time for the pre-reserve.
      
      The idea is that you can schedule a pre-reserve to begin sometime later,
      and you can optionally specify a time for a prereserve to terminate.
      There is a new script that runs from cron that checks for pre-reserves
      that need to be started or terminated.
      
      For example:
      
      boss> wap prereserve -s '2012-09-14 09:08:15' -e '2012-09-15' emulab-ops 50
      
      You can use any datetime string that is valid for str2time. At some point
      it would be nice to allow natural language dates ("tomorrow") but that
      requires a another bunch of perl packages and I didn't want to bother.
      
      NOTE: when using -e, -r is implied; in other words, when the
      pre-reserve is terminated, the table entry is cleared *and* the
      reserved_pid of all of the nodes is cleared. Any experiments using
      those nodes is left alone, although if the user does a swapmod, they
      could easily lose the nodes if another pre-reserve is set up that
      promises those nodes to another project.
      f7219346
    • Leigh B Stoller's avatar
      When creating vnodes, add a node_activity row. · 43e9f520
      Leigh B Stoller authored
      When deleting, remove node_activity and other slothd slots.
      Going to have slothd start reporting for individual VMs soon.
      43e9f520