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

gophercloud / gophercloud / 3449
79%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2019 06:37PM UTC
Jobs 3
Files 528
Run time 25min
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% (+0.09%) from 76.429%
3449

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%)

53.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3449.1 26 Feb 2019 06:37PM UTC 0
80.33
Travis Job 3449.1
2 3449.2 26 Feb 2019 06:38PM UTC 0
76.52
Travis Job 3449.2
3 3449.3 26 Feb 2019 06:42PM UTC 0
76.52
Travis Job 3449.3
Source Files on build 3449
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3449
  • 490361a9 on github
  • Prev Build on master (#3447)
  • Next Build on master (#3454)
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