[ https://issues.apache.org/jira/browse/LIBCLOUD-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003068#comment-14003068
]
ASF GitHub Bot commented on LIBCLOUD-557:
-----------------------------------------
GitHub user sasi5a1 opened a pull request:
https://github.com/apache/libcloud/pull/296
[LIBCLOUD-557] Updated list_nodes to categorize private_ips and public_i...
...ps
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sasi5a1/libcloud LIBCLOUD-557
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/296.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 #296
----
commit 1435907fd861b35438105d0f643a63e7c67331b0
Author: sasikiran_vaddi <sasikiran_vaddi@persistent.co.in>
Date: 2014-05-20T10:39:00Z
[LIBCLOUD-557] Updated list_nodes to categorize private_ips and public_ips
----
> list_nodes for openstack is not filtering the floating ips correctly
> --------------------------------------------------------------------
>
> Key: LIBCLOUD-557
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-557
> Project: Libcloud
> Issue Type: Bug
> Components: Libcloud REST
> Environment: Ubuntu
> Reporter: Sasikiran Vaddi
> Priority: Minor
>
> When we try to retrieve list_nodes using Openstack provider the floating and is not correctly
categorized.
> FloatingIp and FixedIPs are added under private_ip's section and public_ip's remains
empty.
> Stepst to reproduce
> --------------------------
> from libcloud.compute.types import Provider
> from libcloud.compute.providers import get_driver
> import libcloud.security
> libcloud.security.VERIFY_SSL_CERT = False
> OpenStack = get_driver(Provider.OPENSTACK)
> driver = OpenStack('your_username', 'your_password',
> ex_force_auth_url='your_endpoint_url',
> ex_force_auth_version='2.0_password',
> ex_tenant_name='your_tenant_name')
> nodes = driver.list_nodes()
> print nodes
> VM's in openstack env# which you are working should associate with floating_ips. Then
you will observe the nodes list contains floating_ips will be associated with private_ips
instead of public_ips
--
This message was sent by Atlassian JIRA
(v6.2#6252)
|