1. 26 Apr, 2011 4 commits
  2. 25 Apr, 2011 4 commits
    • David Johnson's avatar
      Fixup simulation of reloads that are optimized away. · de62ec00
      David Johnson authored
      We needed to make sure to transition into the op_mode for the "loaded" OS
      and get out of RELOAD-PUSH.
      de62ec00
    • David Johnson's avatar
      Split out a ResetNextOpMode method from OSSelect (which now calls it). · 5d54f373
      David Johnson authored
      This allows other things that don't need to change the OS, but *do* need
      to make sure that a mode transition gets setup if necessary, to setup that
      transition too.  Currently the only case that needs this is push-based
      reloads, when the reload has been setup (and then not performed because it
      was optimized away).
      5d54f373
    • Mike Hibler's avatar
      Hopefully short-term fix to allow more general mixing of pnodes and vnodes. · bf0c2929
      Mike Hibler authored
      The current state of affairs is that you can only set the "link emulation"
      style at the experiment level, and that forces link emulation on physical
      nodes as well as virtual nodes. Thus you are forced into using either 802.11
      tagged vlan emulation or an OS that supports something called "veths" on
      physical nodes.
      
      From the comment:
      
         This is a very, very, very special case. If a non-encapsulating veth
         interface (veth-ne) maps 1-to-1 with an underlying physical interface,
         we want to just use the physical interface instead. This allows OSes
         (on physical nodes) which don't support a veth device (i.e., most of
         them) to talk to vnodes which are using veth-ne style.
      
         This can go away once we have separated the notion of multiplexing
         links from encapsulating links (a historical conflation) so that we
         don't have to force virtual devices onto physical nodes just because
         some virtual nodes in the same experiment require multiplexed links.
      bf0c2929
    • Mike Hibler's avatar
      Remove the hardwired configuration of physical interfaces used for linkdelays. · 5fdc31a3
      Mike Hibler authored
      I believe this is left over from a bygone era and should not be needed
      (in addition to being wrong, since it always sets the link to 100Mb).
      rc.ifconfig (via the generated rc.ifc) will properly configure physical
      interfaces that underly multiplexed links.
      
      Note also that the Linux version of the delaysetup script never did this.
      5fdc31a3
  3. 23 Apr, 2011 1 commit
  4. 22 Apr, 2011 2 commits
  5. 21 Apr, 2011 5 commits
  6. 20 Apr, 2011 4 commits
    • Leigh B Stoller's avatar
      Update for new ssh key handling. · d14d18cb
      Leigh B Stoller authored
      d14d18cb
    • Leigh B Stoller's avatar
      Update for new ssh key/account handling. · 35f88900
      Leigh B Stoller authored
      35f88900
    • Leigh B Stoller's avatar
      Changes our ssh key/account handling in RedeemTicket() and · 03c2107c
      Leigh B Stoller authored
      CreateSliver(), to handle multiple accounts.  This somewhat reflects
      the Geni AM API for keys, which allows the client to specify multiple
      users, each with a set of ssh keys.
      
      The keys argument to the CM now looks like the following (note that
      the old format is still accepted and will be for a while).
      
      [{'urn'   => 'urn:blabla'
        'login' => 'dopey',
        'keys'  => [ list of keys like before ]},
       {'login' => "leebee",
        'keys'  => [ list of keys ... ]}];
      
      Key Points:
      
      1. You can supply a urn or a login or both. Typically, it is going to
         be the result of getkeys() at the PG SA, and so it will include
         both.
      
      2. If a login is provided, use that. Otherwise use the id from the urn.
      
      3. No matter what, verify that the token is valid for Emulab an uid
         (standard 8 char unix login that is good on just about any unix
         variant), and transform it if not.
      
      4. For now, getkeys() at the SA will continue to return the old format
         (unless you supply version=2 argument) since we do not want to
         default to a keylist that most CMs will barf on.
      
      5. I have modified the AM code to transform the Geni AM version of the
         "users" argument into the above structure. Bottom line here, is
         that users of the AM interface will not actually need to do
         anything, although now multiple users are actually supported
         instead of ignored.
      
      Still to be done are the changes to the login services structure in
      the manifest. We have yet to settle on what these changes will look
      like, but since people generally supply valid login ids, you probably
      will not need this, since no transformation will take place.
      03c2107c
    • Ryan Jackson's avatar
  7. 19 Apr, 2011 2 commits
  8. 18 Apr, 2011 3 commits
  9. 17 Apr, 2011 3 commits
  10. 15 Apr, 2011 4 commits
  11. 14 Apr, 2011 1 commit
    • Leigh B Stoller's avatar
      Bug Fix: Fix up the code that removes individual ports from vlans · a94c511f
      Leigh B Stoller authored
      when doing syncVlansFromTables(). I was not looking to see which ports
      existed on which devices, and so was calling the device specific
      remove for ports that did not exist on the device. Ditto for removing
      ports from trunks.
      
      Also a bunch of debugging bits in case there are more problems.
      a94c511f
  12. 13 Apr, 2011 2 commits
  13. 12 Apr, 2011 3 commits
  14. 11 Apr, 2011 2 commits