[ 
https://issues.apache.org/jira/browse/LIBCLOUD-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bennett updated LIBCLOUD-585:
-------------------------------------

    Description: 
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": "*****"
  }
]

  was:
example response:
HTTP/1.1 200 OK^M
Date: Tue, 24 Jun 2014 20:57:51 GMT^M
Content-Length: 646^M
Cache-Control: no-cache^M
Content-Type: application/json^M
Server: BaseHTTP/0.3 Python/2.6.6^M
^M
[
  {
    "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": "*****"
  }
]


> 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)

Reply via email to