Skip to content

Add Ironic vendor passthru helpers - #3785

Merged
stephenfin merged 2 commits into
gophercloud:mainfrom
Sharpz7:ironic-vendor-passthru
Aug 7, 2026
Merged

stephenfin merged 2 commits into
gophercloud:mainfrom
Sharpz7:ironic-vendor-passthru

Conversation

@Sharpz7

@Sharpz7 Sharpz7 commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR adds generic Ironic vendor passthru support for both node and driver endpoints:

  • list vendor passthru methods for nodes and drivers
  • call vendor passthru methods with arbitrary HTTP methods and JSON request bodies
  • handle synchronous JSON responses and asynchronous/no-content responses
  • add acceptance coverage for vendor passthru method discovery and safe missing-method calls

This was created with assistance from OpenAI Codex.

Closes part of #1429.

Testing

  • env GOCACHE=/tmp/go-build GOMODCACHE=/tmp/go-mod go test ./openstack/baremetal/v1/nodes/testing ./openstack/baremetal/v1/drivers/testing
  • env GOCACHE=/tmp/go-build GOMODCACHE=/tmp/go-mod go test -tags 'acceptance baremetal nodes drivers' ./internal/acceptance/openstack/baremetal/v1 -run TestNonexistent -count=0

@Sharpz7

Sharpz7 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

This PR was created with assistance from OpenAI Codex. Maintainers are free to close this PR with no explanation.

@github-actions github-actions Bot added edit:baremetal This PR updates baremetal code semver:minor Backwards-compatible change backport-v2 This PR will be backported to v2 labels Jun 1, 2026
@coveralls

coveralls commented Jun 1, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 64.034% (+0.05%) from 63.981% — Sharpz7:ironic-vendor-passthru into gophercloud:main

@Sharpz7
Sharpz7 marked this pull request as ready for review June 2, 2026 16:57
@Sharpz7 Sharpz7 changed the title [experimental] Add Ironic vendor passthru helpers Add Ironic vendor passthru helpers Jul 2, 2026
@mandre

mandre commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Hey @Sharpz7 just to let you know we have nothing against your PRs or the use of AI for helping you generating them. We're just very busy with other stuff, and we'll get to them eventually. Thanks for your patience.

@Sharpz7

Sharpz7 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

All good @mandre , appreciate you getting in touch.

@stephenfin
stephenfin added this pull request to the merge queue Aug 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 7, 2026
@stephenfin
stephenfin added this pull request to the merge queue Aug 7, 2026
Merged via the queue into gophercloud:main with commit e7ddbc7 Aug 7, 2026
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:baremetal This PR updates baremetal code semver:minor Backwards-compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants