On Tue, Jun 21, 2011 at 05:51:50PM +0200, Michael Hanselmann wrote:
> The change is not backwards compatible, see the updated NEWS file.
> 
> Signed-off-by: Michael Hanselmann <[email protected]>
> ---
>  NEWS                                |    4 ++++
>  doc/rapi.rst                        |   25 ++++++++-----------------
>  lib/rapi/client.py                  |   33 +++++++++++++++++++++------------
>  lib/rapi/rlib2.py                   |   35 
> ++++++-----------------------------
>  test/ganeti.rapi.client_unittest.py |    6 ++++--
>  5 files changed, 43 insertions(+), 60 deletions(-)
> 
> diff --git a/NEWS b/NEWS
> index 172277a..56322fb 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -9,6 +9,10 @@ Version 2.5.0 beta1
>  - The default of the ``/2/instances/[instance_name]/rename`` RAPI
>    resource's ``ip_check`` parameter changed from ``True`` to ``False``
>    to match the underlying LUXI interface
> +- The ``/2/nodes/[node_name]/evacuate`` RAPI resource was changed to use
> +  body parameters, see :doc:`RAPI documentation <rapi>`. Neither server
> +  nor RAPI client maintain backwards-compatibility as the underlying
> +  operation changed in an incompatible way.

Hi Michael,

What is the method then for a Ganeti web manager to use a single client
code against both 2.4 and 2.5? I looked for some feature name for this
new API, but could find any.

thanks!
iustin

Reply via email to