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>
Showing
- doc/hooks.rst 10 additions, 0 deletionsdoc/hooks.rst
- lib/cli.py 5 additions, 0 deletionslib/cli.py
- lib/client/gnt_group.py 9 additions, 6 deletionslib/client/gnt_group.py
- lib/cmdlib.py 24 additions, 3 deletionslib/cmdlib.py
- lib/config.py 4 additions, 0 deletionslib/config.py
- lib/constants.py 10 additions, 0 deletionslib/constants.py
- lib/objects.py 4 additions, 0 deletionslib/objects.py
- lib/opcodes.py 2 additions, 0 deletionslib/opcodes.py
- lib/rapi/client.py 4 additions, 1 deletionlib/rapi/client.py
- lib/rapi/rlib2.py 17 additions, 2 deletionslib/rapi/rlib2.py
- man/gnt-group.rst 25 additions, 2 deletionsman/gnt-group.rst
- qa/qa_rapi.py 1 addition, 0 deletionsqa/qa_rapi.py
Loading
Please register or sign in to comment