OpInstanceSetParams: Merge {off,on}line_inst parameters
Instead of having two separate parameters, a single boolean parameter is used. Unfortunately we need a third state to say “no change”, so the value can be None, True or False (similar to other parameters). There are no user interface changes. New QA tests are added, too. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- lib/client/gnt_instance.py 8 additions, 2 deletionslib/client/gnt_instance.py
- lib/cmdlib.py 17 additions, 12 deletionslib/cmdlib.py
- lib/opcodes.py 1 addition, 4 deletionslib/opcodes.py
- qa/ganeti-qa.py 2 additions, 0 deletionsqa/ganeti-qa.py
- qa/qa_instance.py 18 additions, 0 deletionsqa/qa_instance.py
Loading
Please register or sign in to comment