1. 24 Apr, 2014 1 commit
  2. 24 Feb, 2014 1 commit
  3. 07 Feb, 2014 1 commit
  4. 20 Dec, 2013 1 commit
  5. 17 Dec, 2013 1 commit
  6. 14 Nov, 2013 1 commit
  7. 11 Oct, 2013 1 commit
  8. 29 Aug, 2013 1 commit
  9. 28 Aug, 2013 1 commit
  10. 21 Aug, 2013 1 commit
    • Sebastian Gebhard's avatar
      Add params for OpenvSwitch to ndparams · 807d8853
      Sebastian Gebhard authored
      
      
      This patch introduces the needed fields for OpenvSwitch parameters
      into ndparams and also provides the default values.
      
      The parameters are:
      ND_OVS: boolean, to show whether OpenvSwitch is enabled or not
      ND_OVS_NAME: the name of the OpenvSwitch to create
      ND_OVS_LINK: the physical link to the OpenvSwitch
      
      While ND_OVS and ND_OVS_NAME are mandatory and default to FALSE and
      constants.DEFAULT_OVS respectively, ND_OVS_LINK is optional and can
      be left empty.
      Adding a new node with OpenvSwitch and no physical interface might
      or might not be what the user wants, so this case will result in a
      warning to inform the user (see later patch in this series).
      
      This patch also fixes unittests which are using these parameters.
      Signed-off-by: default avatarSebastian Gebhard <sege@fs.ei.tum.de>
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      807d8853
  11. 20 Jun, 2013 1 commit
  12. 03 May, 2013 1 commit
  13. 29 Apr, 2013 2 commits
  14. 24 Apr, 2013 2 commits
  15. 27 Mar, 2013 1 commit
  16. 11 Mar, 2013 3 commits
  17. 11 Feb, 2013 1 commit
  18. 04 Feb, 2013 1 commit
  19. 27 Dec, 2012 1 commit
  20. 19 Dec, 2012 1 commit
  21. 21 Nov, 2012 1 commit
  22. 18 Oct, 2012 1 commit
  23. 21 Feb, 2012 1 commit
  24. 02 Dec, 2011 1 commit
  25. 30 Nov, 2011 1 commit
  26. 31 Oct, 2011 1 commit
  27. 11 Jan, 2011 1 commit
  28. 22 Nov, 2010 1 commit
  29. 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>
      870dc44c
  30. 12 Apr, 2010 1 commit
  31. 10 Mar, 2010 1 commit
  32. 03 Nov, 2009 1 commit
  33. 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>
      4c14965f
  34. 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
      methods.
      
      Reviewed-by: ultrotter
      51596eb2
  35. 01 Oct, 2008 1 commit
  36. 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
      75a5f456