Add the "alloc_policy" attribute to node groups
authorAdeodato Simo <dato@google.com>
Thu, 9 Dec 2010 15:16:23 +0000 (15:16 +0000)
committerAdeodato Simo <dato@google.com>
Mon, 13 Dec 2010 16:33:32 +0000 (16:33 +0000)
commit90e99856b5f0f833fe016ef9203f46329a11491e
tree45cee3deac31886608c4453c4a74e5532d783984
parent4da7909a505dbd96f00d1c7c58c72c1117139999
Add the "alloc_policy" attribute to node groups

This can be set at group creation time and via OpSetGroupParams. The default
is "preferred", and existing node groups from previous Ganeti version will
get the attribute set to this value.

Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
12 files changed:
doc/hooks.rst
lib/cli.py
lib/client/gnt_group.py
lib/cmdlib.py
lib/config.py
lib/constants.py
lib/objects.py
lib/opcodes.py
lib/rapi/client.py
lib/rapi/rlib2.py
man/gnt-group.rst
qa/qa_rapi.py