Ran
|
Jobs
3
|
Files
405
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/rackspace/gophercloud/commit/<a class=hub.com/rackspace/gophercloud/commit/8ff240ee1bf70fea2636579295000e2091af44d7">8ff240ee1<a href="https://github.com/rackspace/gophercloud/commit/8ff240ee1bf70fea2636579295000e2091af44d7">">Adding Vip port ID for loadbalancer Vip port ID is actually being returned by the lbaas api although documentation does not reference it. This PR exposes this important attribute when creating or listing loadbalancers. REQ: curl -g -i --cacert &quot;/home/sabhaya/ipc/cacert.cer&quot; -X POST https://10.243.189.6:9696/v2.0/lbaas/loadbalancers.json -H &quot;User-Agent: python-neutronclient&quot; -H &quot;Content-Type: application/json&quot; -H &quot;Accept: application/json" -H "X-Auth-Token: {SHA1}</a><a class="double-link" href="https://github.com/rackspace/gophercloud/commit/<a class="double-link" href="https://github.com/rackspace/gophercloud/commit/197d9453ec40aa1453b88ed2fd31dc22ee9bb6d3">197d9453e</a>">197d9453e</a><a href="https://github.com/rackspace/gophercloud/commit/8ff240ee1bf70fea2636579295000e2091af44d7">" -d '{"loadbalancer": {"vip_subnet_id": "6cfcd316-6060-42e3-95a7-fe5dd7ba6f46", "description": "vipul-test", "admin_state_up": true}}' DEBUG: keystoneauth.session RESP: [201] Content-Type: application/json Content-Length: 430 X-Openstack-Request-Id: req-c38d6086-77d6-4f91-94d1-b6f233cf90c0 Date: Thu, 07 Jul 2016 00:13:58 GMT Connection: keep-alive RESP BODY: {"loadbalancer": {"description": "vipul-test", "admin_state_up": true, "tenant_id": "4c45f9757fce480c875e096fba3e254e", "provisioning_status": "PENDING_CREATE", "listeners": [], "vip_address": "10.0.2.31", "vip_port_id": "4e901618-0a8d-4d46-861c-28fad2df7a8c", "provider": "octavia", "vip_subnet_id": "6cfcd316-6060-42e3-95a7-fe5dd7ba6f46", "id": "c28cf436-f201-4c4f-be63-ecbd092aae63", "operating_status": "OFFLINE", "name": ""}} Created a new loadbalancer: +----------... (continued)
3 of 3 new or added lines in 1 file covered. (100.0%)
16123 of 19886 relevant lines covered (81.08%)
2.58 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
83.17 |
-1.53% | openstack/networking/v2/extensions/lbaas_v2/loadbalancers/requests.go |
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
94.37 |
0.0% | openstack/networking/v2/extensions/lbaas_v2/loadbalancers/fixtures.go |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 1435.1 (COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8) | 405 |
81.08 |
Travis Job 1435.1 | |
2 | 1435.2 (COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8) | 405 |
81.08 |
Travis Job 1435.2 | |
3 | 1435.3 (COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8) | 405 |
81.08 |
Travis Job 1435.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|