cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <Chiradeep.Vit...@citrix.com>
Subject Re: Optional parameters of addCluster API
Date Thu, 02 May 2013 17:37:42 GMT
The cluster for KVM hypervisors is not a real cluster managed by another
virtualization manager (as in VMWare).

On 5/2/13 9:09 AM, "Chip Childers" <chip.childers@sungard.com> wrote:

>On Thu, May 02, 2013 at 01:59:33PM +0000, Sateesh Chodapuneedi wrote:
>> addCluster API specification says url, username & password as optional
>>parameters.
>> Any reason why these 3 parameters are not required? Specific hypervisor
>>specific discover uses these parameters to connect & discover the
>>resources further.
>> Can these be made required parameters?
>> 
>> --snip--
>>     @Parameter(name=ApiConstants.PASSWORD, type=CommandType.STRING,
>>required=false, description="the password for the host")
>>     private String password;
>> 
>>     @Parameter(name=ApiConstants.URL, type=CommandType.STRING,
>>required=false, description="the URL")
>>     private String url;
>> 
>>     @Parameter(name=ApiConstants.USERNAME, type=CommandType.STRING,
>>required=false, description="the username for the cluster")
>>     private String username;
>> --snip-
>> 
>> Regards,
>> Sateesh
>>
>
>What about a bare-metal environment?  It seems like they should remain
>optional.
>
>Also, technically, making that change would break API compatibility
>causing a 4.x to 5.x bump.  Is it worth it?


Mime
View raw message