1. 13 Feb, 2014 1 commit
    • Jose A. Lopes's avatar
      Add 'instance_communication_parameter' to 'Cluster' · 8a5d326f
      Jose A. Lopes authored
      
      
      * Add parameter 'instance_communication_parameter' to the Python
        'ganeti.objects.Cluster' and the Haskell 'Ganeti.Objects.Cluster'.
      
      * Update Haskell 'QueryClusterInfo' to return also the
        'instance_communication_network' parameter.
      
      * Update Python 'LUClusterQuery' to return also the
        'instance_communication_network' parameter.
      
      * Update Python 'ShowClusterConfig' to include information about the
        'instance_commuication_network' parameter
      
      * Update 'ganeti.objects.Cluster.UpgradeConfig' to ugprade also
        'instance_communication_network' parameter to the empty string, if
        unspecified.
      
      * Update the configuration upgrade tool (i.e., 'tools/cfgupgrade') to
        handle upgrading of the 'instance_communication_network' parameter
        as well as downgrading.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      8a5d326f
  2. 07 Feb, 2014 2 commits
  3. 16 Jan, 2014 2 commits
  4. 20 Dec, 2013 1 commit
  5. 17 Dec, 2013 2 commits
  6. 03 Dec, 2013 1 commit
  7. 29 Nov, 2013 1 commit
  8. 14 Nov, 2013 2 commits
    • Petr Pudlak's avatar
      Add "ndp/ssh_port" node group configuration parameter · f2152285
      Petr Pudlak authored
      
      
      The parameter is added to Haskell sources, from which the corresponding
      Python code is generated.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      f2152285
    • 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
  9. 08 Nov, 2013 1 commit
  10. 16 Oct, 2013 2 commits
    • Hrvoje Ribicic's avatar
      Add instance disk fields · 88b58ed6
      Hrvoje Ribicic authored
      
      
      The instance disk fields have been added. As these are the first
      fields to be duplicated, some helper functions are present to support
      easier specification of fields which have to be duplicated for every
      entry in an array of configuration objects, and numbered accordingly.
      A newtype of Maybe was introduced to fix serialization issues, as well
      as a minor utility function.
      Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
      Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
      88b58ed6
    • Hrvoje Ribicic's avatar
      Add instance parameter fields · 4e6f1cde
      Hrvoje Ribicic authored
      
      
      This patch adds instance parameter fields to the Haskell instance
      queries. The fields retrieve maps of parameters related to e.g.
      hypervisors, or operating systems.
      Every instance can have parameters different from the defaults,
      and the fields allow for retrieving changes, defaults, and the
      complete parameters.
      To achieve this, some constants were converted from being
      Python- to Haskell-generated.
      Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
      Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
      4e6f1cde
  11. 08 Oct, 2013 1 commit
  12. 24 Sep, 2013 1 commit
  13. 19 Sep, 2013 1 commit
  14. 09 Sep, 2013 1 commit
  15. 28 Aug, 2013 1 commit
  16. 23 Aug, 2013 1 commit
  17. 07 Aug, 2013 1 commit
  18. 22 Jul, 2013 1 commit
  19. 18 Jul, 2013 1 commit
  20. 10 Jul, 2013 1 commit
  21. 04 Jul, 2013 1 commit
  22. 28 May, 2013 1 commit
  23. 23 May, 2013 1 commit
  24. 29 Apr, 2013 1 commit
  25. 24 Apr, 2013 1 commit
  26. 17 Apr, 2013 1 commit
  27. 11 Apr, 2013 2 commits
  28. 27 Mar, 2013 1 commit
  29. 21 Mar, 2013 1 commit
  30. 12 Mar, 2013 1 commit
    • Iustin Pop's avatar
      Add simple Ip4Address/Ip4Network types · 3a991f2d
      Iustin Pop authored
      
      
      This patch adds some very simple IPv4 address/network types, and uses
      them in the 'Network' config object.
      
      We need these in order to properly compute the reserved IP addresses,
      without depending on an external library (which I haven't found, by
      the way). Currently the only operation supported is 'get next IP
      address', which is enough for us.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      3a991f2d
  31. 04 Mar, 2013 1 commit
  32. 11 Feb, 2013 2 commits
  33. 08 Feb, 2013 1 commit