[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilia Shakitko resolved CLOUDSTACK-7159.
---------------------------------------
    Resolution: Implemented

> 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.3.4#6332)

Reply via email to