{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1342","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1342/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1342/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1342/events","html_url":"https://github.com/hashicorp/terraform/pull/1342","id":65559164,"number":1342,"title":"OpenStack provider - Bugfix on floating IP assignment","user":{"login":"ggiamarchi","id":1434745,"avatar_url":"https://avatars.githubusercontent.com/u/1434745?v=3","gravatar_id":"","url":"https://api.github.com/users/ggiamarchi","html_url":"https://github.com/ggiamarchi","followers_url":"https://api.github.com/users/ggiamarchi/followers","following_url":"https://api.github.com/users/ggiamarchi/following{/other_user}","gists_url":"https://api.github.com/users/ggiamarchi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiamarchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiamarchi/subscriptions","organizations_url":"https://api.github.com/users/ggiamarchi/orgs","repos_url":"https://api.github.com/users/ggiamarchi/repos","events_url":"https://api.github.com/users/ggiamarchi/events{/privacy}","received_events_url":"https://api.github.com/users/ggiamarchi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-31T22:16:38Z","updated_at":"2015-04-01T14:34:09Z","closed_at":"2015-04-01T14:09:11Z","pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/1342","html_url":"https://github.com/hashicorp/terraform/pull/1342","diff_url":"https://github.com/hashicorp/terraform/pull/1342.diff","patch_url":"https://github.com/hashicorp/terraform/pull/1342.patch"},"body":"The `getFirstNetworkID` does not work correctly because the first\r\nnetwork is not always the private network of the instance.\r\n\r\nAs long as the `GET /networks` gives a list containing also public\r\nnetworks we don't have any guarantee that the first network is the\r\none we want. Furthermore, with a loop over the network list we are\r\nnot able to determine which network is the one we want.\r\n\r\nInstead of retrieving the network ID and then finding the port ID,\r\nit's better to basically take the first port ID of the instance."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/88507126","html_url":"https://github.com/hashicorp/terraform/pull/1342#issuecomment-88507126","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/1342","id":88507126,"user":{"login":"jtopjian","id":46959,"avatar_url":"https://avatars.githubusercontent.com/u/46959?v=3","gravatar_id":"","url":"https://api.github.com/users/jtopjian","html_url":"https://github.com/jtopjian","followers_url":"https://api.github.com/users/jtopjian/followers","following_url":"https://api.github.com/users/jtopjian/following{/other_user}","gists_url":"https://api.github.com/users/jtopjian/gists{/gist_id}","starred_url":"https://api.github.com/users/jtopjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtopjian/subscriptions","organizations_url":"https://api.github.com/users/jtopjian/orgs","repos_url":"https://api.github.com/users/jtopjian/repos","events_url":"https://api.github.com/users/jtopjian/events{/privacy}","received_events_url":"https://api.github.com/users/jtopjian/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T14:34:09Z","updated_at":"2015-04-01T14:34:09Z","body":"@phinze It makes sense, yes, but don't you then end up with a many-to-many matrix of overlapping test paths? If that's just a matter of style, cool. \r\n\r\nThe way I see it (and again, if this is all just style, no big deal), a Floating IP will never use an Instance, but an Instance will always use a Floating IP, and so that creates some type of organization for test cases."}}