cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sateesh Chodapuneedi <sateesh.chodapune...@citrix.com>
Subject Optional parameters of addCluster API
Date Thu, 02 May 2013 13:59:33 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message