cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9786) API reference guide entry for associateIpAddress needs a fix
Date Thu, 27 Jul 2017 09:48:00 GMT

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

ASF subversion and git services commented on CLOUDSTACK-9786:
-------------------------------------------------------------

Commit 91f7012b015249d9d74dace8874ee8f38b54bfc2 in cloudstack's branch refs/heads/master from
kishankavala
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=91f7012 ]

Merge pull request #1959 from Accelerite/CLOUDSTACK-9786

CLOUDSTACK-9786:API reference guide entry for associateIpAddress needs additional information

> API reference guide entry for associateIpAddress needs a fix
> ------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9786
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9786
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Ashadeepa Debnath
>
> Going through the code & implementation, it seems like either of the parameters are
not required while accessing the API : associateIpAddress.
> There are 3 cases for which this api works. 1) networkId 2) vpcId 3) zoneId. Either of
these can be provided to achieve the same functionality. If neither of them is provided, there
is an error text shown.
> E.g.
> [root@CCP ~]# curl -s 'http://10.66.43.37:8096/client/api?command=associateIpAddress&listall=true'
| xmllint --format - -o
> <?xml version="1.0" encoding="UTF-8"?>
> <associateipaddressresponse cloud-stack-version="4.5.1.0">
> <errorcode>431</errorcode>
> <cserrorcode>4350</cserrorcode>
> <errortext>Unable to figure out zone to assign ip to. Please specify either zoneId,
or networkId, or vpcId in the call</errortext>
> </associateipaddressresponse>
> Modify the API reference guide entry with this detail in the "description"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message