libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bennett (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-585) ElasticHosts API response for server info stores the IP addresses in the field "nic:0:dhcp:ip" but the _to_node method pulls it from "nic:0:dhcp"
Date Tue, 24 Jun 2014 22:18:24 GMT

    [ https://issues.apache.org/jira/browse/LIBCLOUD-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042774#comment-14042774
] 

Michael Bennett commented on LIBCLOUD-585:
------------------------------------------

I have a fix and tests ready for this

> ElasticHosts API response for server info stores the IP addresses in the field "nic:0:dhcp:ip"
but the _to_node method pulls it from "nic:0:dhcp"
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-585
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-585
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Michael Bennett
>            Priority: Minor
>
> example response:
> HTTP/1.1 200 OK
> Date: Tue, 24 Jun 2014 20:57:51 GMT
> Content-Length: 646
> Cache-Control: no-cache
> Content-Type: application/json
> Server: BaseHTTP/0.3 Python/2.6.6
> [
>   {
>     "boot": "ide:0:0",
>     "cpu": 1650,
>     "ide:0:0": "*******",
>     "mem": 1024,
>     "name": "ca1-test-0",
>     "nic:0:block": "tcp/5902 tcp/5900 tcp/43594 tcp/43595 tcp/110 tcp/22 tcp/23 tcp/25
tcp/5901 tcp/21 tcp/143 udp/5060",
>     "nic:0:dhcp": "auto",
>     "nic:0:dhcp:ip": "76.74.203.105",
>     "nic:0:ip": "76.74.203.105",
>     "nic:0:mac": "7a:a8:84:a7:ce:3e",
>     "nic:0:model": "e1000",
>     "server": "****",
>     "smp": "auto",
>     "smp:cores": 1,
>     "started": 1403642374,
>     "status": "active",
>     "user": "*****"
>   }
> ]



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

Mime
View raw message