• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gophercloud / gophercloud / 3449 / 3
79%
master: 79%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2019 06:42PM UTC
Files 528
Run time 14min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Feb 2019 06:31PM UTC coverage: 76.522% (-3.7%) from 80.212%
3449.3

push

travis-ci

jtopjian
Baremetal V1 API Ports (#1453)

* Baremetal V1 API: Ports

This commit add the Ports API calls according to [1]
- List Ports (GET)
- Create Port (POST)
- List Detailed Ports (GET)
- Show Port Details (GET)
- Update a Port (PATCH)
- Delete Port (DELETE)

[1] https://developer.openstack.org/api-ref/baremetal/?expanded=#ports-ports

* Updates for Ports API

- Fix Address in doc
- Renamed IsSmartnic to IsSmartNIC
- Fixed Indentation using go fmt
- Fixed acceptance test

* Update Tests

- Fix acceptance for noauth and v1 to use correct field
- Fix undefined field for Port in requests_test

* Update Acceptance and Unit Tests

-Fixed acceptance tests (validated using DevStack - Stein on Ubuntu)
-Fixed unnit tests
-Fixed Links variable type

* Fix noauth acceptance

- Missing v1 before the functions to create fake node and delete

* Fixes in requests and acceptance

-Added header for acceptance tests
-Change `bool` to `*bool` to allow true and false for
PXEEnabled and IsSmartNIC
-Change UpdateOperation Value to `interface{}` to avoid problems
when not using string (e.g, booleans, jsons)

* Fix value for type *bool

Type `*bool` requires the pointer for a variable with `bool` value

* Fix typo in variable name on acceptance

- `itrue` is undefined, change to `iTrue` that is defined
on line 71.

* Fix testing for *bool type

Don't set bool value directly to PXEEnabled since it's `*bool` type

15958 of 20854 relevant lines covered (76.52%)

26.25 hits per line

Source Files on job 3449.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2894
  • Travis Job 3449.3
  • 490361a9 on github
  • Prev Job for on master (#3447.1)
  • Next Job for on master (#3454.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc