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?

Reply via email to