1. 26 Nov, 2013 4 commits
  2. 14 Nov, 2013 1 commit
    • Thomas Thrainer's avatar
      Don't allow optional node parameters · 07e68848
      Thomas Thrainer authored
      
      
      Ganeti does not support optional fields in parameters
      (hypervisor-params, disk-params, etc.). OpenVSwitch related node
      parameters were the exception to this rule, which caused numerous
      problems related to import/export and (de-)serialization.
      
      The reason for making those parameters optional in the first place was to
      disallow them when OpenVSwitch is not used. This was not consistent with
      other parts of Ganeti, where we allow parameters to be set even though they
      are not actively used.
      
      This patch makes all node parameters mandatory and provides sensible
      defaults for them. Checks which make sure that certain parameters are
      not set in some cases were removed, and the tests adapted. Also, the
      inheritance logic from cluster -> node group -> node was implemented, as
      it was missing previously.
      Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      07e68848
  3. 08 Nov, 2013 2 commits
  4. 29 Aug, 2013 2 commits
  5. 05 Mar, 2013 1 commit
  6. 24 Dec, 2012 1 commit
  7. 24 Aug, 2012 1 commit
  8. 24 May, 2011 1 commit
    • Iustin Pop's avatar
      Implement conversion of Python constants to Haskell · d99d1e36
      Iustin Pop authored
      
      
      With the merge of the repositories, we can now auto-generate the code
      for Haskell constants from the Python code.
      
      Currently this only handles the basic types (strings and
      integers). Handling containers such as lists and dictionaries is only
      possible if we would use a parser such that we recognise the element
      names. We could extend the convert-constants script if that becomes
      necessary, right now I'm looking at just the simple constants such as
      Iallocator modes, instance states, etc.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      d99d1e36