How about a new API updateClusterAsync?

OTOH, this is an admin API and it may not be as important to make this
asynchronous. Are there any other admin APIs that are asynchronous?


On 2/12/13 1:27 AM, "Bharat Kumar" <bharat.ku...@citrix.com> wrote:

>Hi all,
>
>As a part of this feature we need to implement a method to update the
>overcommit ratios.
>
>when we update the overcommit ratios all the Vms in the cluster need to
>be reconfigured as per the new values.
>
>In order to do this i need to send some commands to the hypervisor and
>would like this operation to be asynchronous.
>
>There are two ways to do this
>1. ) To use the existing updateCluster Api
>2.) Implement a new api
>
>The problems with 1 are that it is synchronous command and making it
>asynchronous  will break the backward compatibility and
> in case of 2 we need to add a new api to change the overcommit ratios (
>a cluster attribute ) which I think is not intuitive.
>
>Please suggest a way to implement this.
>
>Thanks.
>Bharat.

Reply via email to