1. 04 May, 2011 2 commits
    • Mike Hibler's avatar
      Avoid designating a node not running linktest as the lintest master. · b3574ace
      Mike Hibler authored
      Only happens in an obscure case. Since virtual nodes can be fixed to other
      topology nodes in the NS file, "virthost" nodes can explicitly appear in the
      resulting topology descriptions. However, virthost nodes do not run linktest
      so we need to ensure they do not get nominated as "linktest master" for an
      Rather than fix this on the client-side and create further backward-compat
      issues, we resolve this in the server-generated linktest topology map.
      By marking such virthost nodes as not supporting linktest, the client side
      will automatically weed out those nodes.
    • Leigh B Stoller's avatar
      Another changed for mixing real nodes with pnodes in a lan. The goal · 74c2e128
      Leigh B Stoller authored
      is to prevent assign from putting the lan node on a pc; always prefer
      a real switch. To do this, use a feature on the real switches called
      real-switch:0 and when we mix pnodes and vnodes, ask for that feature
      on the fake lan nodes; real-switch:1.0
  2. 03 May, 2011 1 commit
    • Mike Hibler's avatar
      Fixes for adding nodes. · 2fb7f5da
      Mike Hibler authored
      Pass -f option to newnodes so it ignores unconnected interfaces.
      Make sure we enter the inner control net IP in new_nodes when !singlenet.
  3. 02 May, 2011 3 commits
  4. 29 Apr, 2011 3 commits
  5. 28 Apr, 2011 6 commits
  6. 27 Apr, 2011 3 commits
  7. 26 Apr, 2011 5 commits
  8. 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.
    • 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).
    • 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.
    • 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.
  9. 23 Apr, 2011 1 commit
  10. 22 Apr, 2011 3 commits
  11. 21 Apr, 2011 5 commits
  12. 20 Apr, 2011 4 commits
    • Leigh B Stoller's avatar
      Update for new ssh key handling. · d14d18cb
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Update for new ssh key/account handling. · 35f88900
      Leigh B Stoller authored
    • 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
      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.
    • Ryan Jackson's avatar