libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (LIBCLOUD-557) list_nodes for openstack is not filtering the floating ips correctly
Date Tue, 20 May 2014 10:46:38 GMT


ASF GitHub Bot commented on LIBCLOUD-557:

GitHub user sasi5a1 opened a pull request:

    [LIBCLOUD-557] Updated list_nodes to categorize private_ips and public_i...

You can merge this pull request into a Git repository by running:

    $ git pull LIBCLOUD-557

Alternatively you can review and apply these changes as the patch at:

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 <>
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:
>             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
> FloatingIp and FixedIPs are added under private_ip's section and public_ip's remains
> Stepst to reproduce
> --------------------------
> from libcloud.compute.types import Provider
> from libcloud.compute.providers import get_driver
> import
> = 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

View raw message