You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Ilia Shakitko (JIRA)" <ji...@apache.org> on 2014/07/22 15:35:38 UTC

[jira] [Updated] (CLOUDSTACK-7159) Add "state" parameter to the "listPublicIpAddresses" API call

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

Ilia Shakitko updated CLOUDSTACK-7159:
--------------------------------------

    Description: 
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:terminal}
list publicipaddresses forvirtualnetwork=false state=free
{code}

and have a list of Free publicIpAddresses.

  was:
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.


> 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:terminal}
> list publicipaddresses forvirtualnetwork=false state=free
> {code}
> and have a list of Free publicIpAddresses.



--
This message was sent by Atlassian JIRA
(v6.2#6252)