1. 23 Apr, 2011 1 commit
  2. 22 Apr, 2011 2 commits
  3. 21 Apr, 2011 5 commits
  4. 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
  5. 19 Apr, 2011 2 commits
  6. 18 Apr, 2011 3 commits
  7. 17 Apr, 2011 3 commits
  8. 15 Apr, 2011 4 commits
  9. 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
  10. 13 Apr, 2011 2 commits
  11. 12 Apr, 2011 3 commits
  12. 11 Apr, 2011 10 commits