GitHub user zerthimon opened a pull request:
https://github.com/apache/libcloud/pull/334
[LIBCLOUD-592] Create a generic method for listing AWS EIPs
Currently there are three methods in ec2 driver for listing EIPs:
They all satisfy different use cases:
ex_describe_all_addresses() - list all EIPs (vpc and ec2) optionally list
only associated EIPs.
ex_describe_addresses() - list only EIPs for the specific nodes.
ex_describe_addresses_for_node() - list only EIPs for specific node.
This PR creates a generic method ex_list_addresses() to give users more
flexibility while listing EIPs, by implementing all the functionality from this
API call:
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeAddresses.html
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zerthimon/libcloud
LIBCLOUD-592_generic_method_for_listing_AWS_EIPs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/334.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #334
----
commit 7d1d2be18135435588928a8122c56aa96896c6b5
Author: Lior Goikhburg <[email protected]>
Date: 2014-07-02T14:18:00Z
[LIBCLOUD-592] Create a generic method for listing AWS EIPs
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---