Code review comment for lp:~tr3buchet/nova/multi_nic

Revision history for this message
Dan Prince (dan-prince) wrote :

Yeah. It looks like the IP's are only invisible when using the OSAPI v1.0.

http://172.19.0.3:8774/v1.0/
{"server": {"status": "ACTIVE", "hostId": "84fd63700cb981fed0d55e7a7eca3b25d111477b5b67e70efcf39b93", "addresses": {"public": [], "private": []}, "uuid": "59391833-d8f4-40cd-af57-6ca333335a80", "name": "test", "flavorId": 1, "imageId": 3, "id": 1, "metadata": {}}}

When I use the OSAPI v1.1 I can actually see them fine:

http://172.19.0.3:8774/v1.1/
{"server": {"status": "ACTIVE", "links": [{"href": "http://172.19.0.3:8774/v1.1/servers/1", "rel": "self"}, {"href": "http://172.19.0.3:8774/v1.1/servers/1", "type": "application/json", "rel": "bookmark"}, {"href": "http://172.19.0.3:8774/v1.1/servers/1", "type": "application/xml", "rel": "bookmark"}], "hostId": "84fd63700cb981fed0d55e7a7eca3b25d111477b5b67e70efcf39b93", "addresses": {"public": [], "private": [{"version": 4, "addr": "192.168.0.2"}]}, "imageRef": 3, "flavorRef": "http://172.19.0.3:8774/v1.1/flavors/1", "uuid": "59391833-d8f4-40cd-af57-6ca333335a80", "name": "test", "id": 1, "metadata": {}}}

So we have a small issue where the IP's don't show up in the OSAPI v1.0.

« Back to merge proposal