RAPI: Fix resource for replacing disks
authorMichael Hanselmann <hansmi@google.com>
Mon, 17 Oct 2011 13:58:19 +0000 (15:58 +0200)
committerMichael Hanselmann <hansmi@google.com>
Mon, 17 Oct 2011 13:58:24 +0000 (15:58 +0200)
commit539d65ba090ea0c10336d40774d59fbf67b07b2d
treef1a72158cd90fdeec9377a913567c82ff9b1f69d
parent58f6738cde8fd81fb0f6b546390abdab17a821be
RAPI: Fix resource for replacing disks

Commit d1c172deb4f inadvertently changes the
“/2/instances/[instance_name]/replace-disks” resource to use body
parameters. There were no QA tests and the issue wasn't noticed.

This patch re-introduces support for query parameters and adds a QA
test.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Andrea Spadaccini <spadaccio@google.com>
doc/rapi.rst
lib/rapi/client.py
lib/rapi/rlib2.py
qa/ganeti-qa.py
qa/qa_rapi.py
test/ganeti.rapi.client_unittest.py
test/ganeti.rapi.rlib2_unittest.py