Unless I missed some, this patch series changes all RAPI resources taking their parameters via the request body to use baserlib.FillOpCode and generated documentation. More tests are added and previously missed parameters are now available, too.
Michael Hanselmann (8): baserlib.FillOpCode: Allow parameter rename RAPI: Use FillOpCode for renaming instances RAPI: Use FillOpCode for modifying node group RAPI: Generate documentation for assigning nodes to groups RAPI: Clean up instance creation, use generated docs Make OpGroupRename consistent with OpInstanceRename RAPI: Use FillOpCode for renaming groups RAPI: Use FillOpCode for adding node group NEWS | 12 +++ doc/rapi.rst | 90 ++++-------------- lib/client/gnt_group.py | 8 +- lib/cmdlib.py | 9 +- lib/opcodes.py | 35 ++++++-- lib/rapi/baserlib.py | 23 ++++- lib/rapi/rlib2.py | 139 ++++++---------------------- test/ganeti.rapi.baserlib_unittest.py | 16 +++ test/ganeti.rapi.rlib2_unittest.py | 166 ++++++++++++++++++++++++++++---- 9 files changed, 274 insertions(+), 224 deletions(-) -- 1.7.3.5
