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

Ilia Shakitko commented on CLOUDSTACK-7159:
-------------------------------------------

The patch have been uploaded for a review: https://reviews.apache.org/r/23805/

> 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)

Reply via email to