1. 02 Dec, 2011 1 commit
  2. 30 Nov, 2011 1 commit
  3. 31 Oct, 2011 1 commit
  4. 11 Jan, 2011 1 commit
  5. 22 Nov, 2010 1 commit
  6. 30 Sep, 2010 1 commit
    • Iustin Pop's avatar
      Abstract OS name/variant functions · 870dc44c
      Iustin Pop authored
      Currently, the computation of the 'pure' name or the variant is
      hardcoded and spread around the functions that need it. This is not
      nice, and in the future we'd spread it even more with more usage of
      variants/pure os names.
      This patch abstracts these functions into the OS class, and then
      replaces the hardcoded uses with the new functions.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  7. 12 Apr, 2010 1 commit
  8. 10 Mar, 2010 1 commit
  9. 03 Nov, 2009 1 commit
  10. 05 Aug, 2009 1 commit
    • Guido Trotter's avatar
      ConfigObject.ToDict() only export non-None values · 4c14965f
      Guido Trotter authored
      The method is changed to a normal loop, to avoid calling getattr()
      twice. Also __getstate__ is changed to just use ToDict() by default.
      This should also make __getstate__ work for objects which have to
      override the ToDict function because they contain other objects.
      __setstate__ is probably still broken in this case, but so it was
      before, and it's not used inside our code, so I'll pretend not to have
      noticed, as there is no "nice" way to fix it, without overriding it all
      over the place :(
      Some unittests are added as a bonus, to make sure we behave well.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  11. 20 Jan, 2009 1 commit
    • Iustin Pop's avatar
      Unify some unittest functions · 51596eb2
      Iustin Pop authored
      This patch adds unified temporary file handling to the
      testutils.GanetiTestCase class, which adds easy creation and automated
      cleanup of temporary files.
      The patch allows a simpler handling in a couple of test cases but
      requires all child classes to call the parent setUp and tearDown
      Reviewed-by: ultrotter
  12. 01 Oct, 2008 1 commit
  13. 18 Mar, 2008 1 commit
    • Michael Hanselmann's avatar
      Add function to write cluster SSH key to known_hosts file · 75a5f456
      Michael Hanselmann authored
      The whole Ganeti cluster has a single SSH key. Its fingerprint is
      written to Ganeti's known_hosts file, together with an alias. This
      allows us to always use that alias instead of the real hostname,
      making management of the known_hosts file much easier.
      This patch does not handle an upgrade from an earlier version.
      Reviewed-by: ultrotter
  14. 26 Feb, 2008 1 commit
  15. 14 Feb, 2008 1 commit
  16. 12 Oct, 2007 1 commit
  17. 13 Sep, 2007 1 commit
  18. 16 Jul, 2007 1 commit