gnt-group add/modify: ipolicy vs disk templates
authorHelga Velroyen <helgav@google.com>
Wed, 7 Aug 2013 12:08:51 +0000 (14:08 +0200)
committerHelga Velroyen <helgav@google.com>
Thu, 8 Aug 2013 15:48:40 +0000 (17:48 +0200)
commit702243ece47fd853c9933978a9117cb5f0407de5
tree2b16cfaca95087fa3c861a557e998e55863acbc0
parent4e771a9573902972ca9679e0c27276ccb4f15c50
gnt-group add/modify: ipolicy vs disk templates

This patch adds a consistency check between the ipolicy's
list of allowed disk templates with the cluster-wide
enable disk templates when a new node group is added
or a group is modified.

It also fixes a bug in gnt-group where the list of allowed
disk templates was not propagated properly.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/client/gnt_group.py
lib/cmdlib/group.py