{"action":"created","issue":{"url":"https://api.github.com/repos/gophercloud/gophercloud/issues/20","repository_url":"https://api.github.com/repos/gophercloud/gophercloud","labels_url":"https://api.github.com/repos/gophercloud/gophercloud/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/gophercloud/gophercloud/issues/20/comments","events_url":"https://api.github.com/repos/gophercloud/gophercloud/issues/20/events","html_url":"https://github.com/gophercloud/gophercloud/pull/20","id":167417774,"number":20,"title":"[rfr] Adding Vip port ID for loadbalancer","user":{"login":"dagnello","id":9357762,"avatar_url":"https://avatars.githubusercontent.com/u/9357762?v=3","gravatar_id":"","url":"https://api.github.com/users/dagnello","html_url":"https://github.com/dagnello","followers_url":"https://api.github.com/users/dagnello/followers","following_url":"https://api.github.com/users/dagnello/following{/other_user}","gists_url":"https://api.github.com/users/dagnello/gists{/gist_id}","starred_url":"https://api.github.com/users/dagnello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagnello/subscriptions","organizations_url":"https://api.github.com/users/dagnello/orgs","repos_url":"https://api.github.com/users/dagnello/repos","events_url":"https://api.github.com/users/dagnello/events{/privacy}","received_events_url":"https://api.github.com/users/dagnello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-25T17:12:17Z","updated_at":"2016-07-25T20:54:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gophercloud/gophercloud/pulls/20","html_url":"https://github.com/gophercloud/gophercloud/pull/20","diff_url":"https://github.com/gophercloud/gophercloud/pull/20.diff","patch_url":"https://github.com/gophercloud/gophercloud/pull/20.patch"},"body":"For #9 \r\n\r\nVip port ID is actually being returned by the lbaas api although\r\ndocumentation does not reference it (Issue #9).  This PR exposes this important\r\nattribute when creating or listing loadbalancers.\r\n\r\nREQ: curl -g -i --cacert \"/home/sabhaya/ipc/cacert.cer\" -X POST\r\nhttps://10.243.189.6:9696/v2.0/lbaas/loadbalancers.json -H \"User-Agent:\r\npython-neutronclient\" -H \"Content-Type: application/json\" -H \"Accept:\r\napplication/json\" -H \"X-Auth-Token:\r\n{SHA1}197d9453ec40aa1453b88ed2fd31dc22ee9bb6d3\" -d '{\"loadbalancer\":\r\n{\"vip_subnet_id\": \"6cfcd316-6060-42e3-95a7-fe5dd7ba6f46\", \"description\":\r\n\"vipul-test\", \"admin_state_up\": true}}'\r\nDEBUG: keystoneauth.session RESP: [201] Content-Type: application/json\r\nContent-Length: 430 X-Openstack-Request-Id:\r\nreq-c38d6086-77d6-4f91-94d1-b6f233cf90c0 Date: Thu, 07 Jul 2016 00:13:58\r\nGMT Connection: keep-alive\r\nRESP BODY: {\"loadbalancer\": {\"description\": \"vipul-test\",\r\n\"admin_state_up\": true, \"tenant_id\": \"4c45f9757fce480c875e096fba3e254e\",\r\n\"provisioning_status\": \"PENDING_CREATE\", \"listeners\": [], \"vip_address\":\r\n\"10.0.2.31\", \"vip_port_id\": \"4e901618-0a8d-4d46-861c-28fad2df7a8c\",\r\n\"provider\": \"octavia\", \"vip_subnet_id\":\r\n\"6cfcd316-6060-42e3-95a7-fe5dd7ba6f46\", \"id\":\r\n\"c28cf436-f201-4c4f-be63-ecbd092aae63\", \"operating_status\": \"OFFLINE\",\r\n\"name\": \"\"}}\r\n\r\nCreated a new loadbalancer:\r\n+---------------------+--------------------------------------+\r\n| Field               | Value                                |\r\n+---------------------+--------------------------------------+\r\n| admin_state_up      | True                                 |\r\n| description         | vipul-test                           |\r\n| id                  | c28cf436-f201-4c4f-be63-ecbd092aae63 |\r\n| listeners           |                                      |\r\n| name                |                                      |\r\n| operating_status    | OFFLINE                              |\r\n| provider            | octavia                              |\r\n| provisioning_status | PENDING_CREATE                       |\r\n| tenant_id           | 4c45f9757fce480c875e096fba3e254e     |\r\n| vip_address         | 10.0.2.31                            |\r\n| vip_port_id         | 4e901618-0a8d-4d46-861c-28fad2df7a8c |\r\n| vip_subnet_id       | 6cfcd316-6060-42e3-95a7-fe5dd7ba6f46 |\r\n+---------------------+———————————————————+\"}}'\""},"comment":{"url":"https://api.github.com/repos/gophercloud/gophercloud/issues/comments/235081695","html_url":"https://github.com/gophercloud/gophercloud/pull/20#issuecomment-235081695","issue_url":"https://api.github.com/repos/gophercloud/gophercloud/issues/20","id":235081695,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T20:54:04Z","updated_at":"2016-07-25T20:54:04Z","body":"\n[![Coverage Status](https://coveralls.io/builds/7155558/badge)](https://coveralls.io/builds/7155558)\n\nCoverage remained the same at 89.876% when pulling **75801bc84b9717fd450f05dda6ff9fa545d27d03 on dagnello:expose-port-id** into **e470686ff616be33b46f9eeddae10ca1f9e35a15 on gophercloud:master**.\n"}}
{"actor":{"display_login":"coveralls"}}