[
https://issues.apache.org/jira/browse/CLOUDSTACK-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086456#comment-14086456
]
ASF subversion and git services commented on CLOUDSTACK-7159:
-------------------------------------------------------------
Commit 07f916dfc6fb30dc928b258beeaa761253e43ab9 in cloudstack's branch
refs/heads/master from [~svscorp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=07f916d ]
CLOUDSTACK-7159 Added "state" parameter to the "listPublicIpAddresses" API call
Signed-off-by: Ilia Shakitko <[email protected]>
Signed-off-by: Rohit Yadav <[email protected]>
> Add "state" parameter to the "listPublicIpAddresses" API call
> -------------------------------------------------------------
>
> Key: CLOUDSTACK-7159
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7159
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API, Management Server
> Reporter: Ilia Shakitko
> Priority: Minor
> Fix For: Future, 4.5.0
>
>
> Few times we've faced an impedemence of having a list of "Free"
> publicIpAddresses. You have to go thru all the IPs with (allocatedonly =
> false) and filter out the "Free" once. It's not a big deal, but it's an extra
> time and traffic between CloudStack and an API consumer.
> It would be useful to have "state" parameter. In this case you can query API
> like this:
> {code}
> list publicipaddresses forvirtualnetwork=false state=free
> {code}
> and have a list of Free publicIpAddresses.
--
This message was sent by Atlassian JIRA
(v6.2#6252)