You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "frank zhang (JIRA)" <ji...@apache.org> on 2014/11/19 21:00:35 UTC

[jira] [Commented] (CLOUDSTACK-7618) Baremetal - AddHost() API docs should include parameters - cpunumber,cpuspeed,memory,hostmac

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218410#comment-14218410 ] 

frank zhang commented on CLOUDSTACK-7618:
-----------------------------------------

This is some architecture flaw that cannot be fixed in 4.5
CloudStack API doesn't provide a way that accepts extra parameters. Back to 3 years ago when baremetal was initially designed, the extra parameters  cpunumber,cpuspeed,memory,hostmac were passed in as query parameters in URL, and baremetal discoverer will parse these parameters by itself; this make API doc generation code will not be aware of these parameters' existence. To fix it,
we need to either build a new API doc generator or introduce new API that has these parameters as class field.
Given the design change, I suggest putting off this bug to next release, as it won't effect any CloudStack functionality.

> Baremetal - AddHost() API docs should include parameters - cpunumber,cpuspeed,memory,hostmac
> --------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7618
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7618
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.5.0
>            Reporter: Sangeetha Hariharan
>            Assignee: frank zhang
>             Fix For: 4.5.0
>
>
> Baremetal - AddHost() API docs should include parameters - cpunumber,cpuspeed,memory,hostmac.
> When adding a baremetal host , following 4 parameters are supported  for addHost() API call - cpunumber,cpuspeed,memory,hostmac.
> API docs should include information about these parameters. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)