cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilia Shakitko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-7159) Add "state" parameter to the "listPublicIpAddresses" API call
Date Tue, 22 Jul 2014 13:35:39 GMT

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



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

Mime
View raw message