Skip to content

[v2] Add Ironic vendor passthru helpers - #3919

Merged
mandre merged 2 commits into
v2from
bp-v2-0af7b50-825fa63
Aug 19, 2026
Merged

mandre merged 2 commits into
v2from
bp-v2-0af7b50-825fa63

Conversation

@gophercloud-backport-bot

Copy link
Copy Markdown

Backport: #3785

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

@github-actions github-actions Bot added v2 This PR targets v2 edit:baremetal This PR updates baremetal code semver:minor Backwards-compatible change labels Aug 7, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 63.917% (+0.06%) from 63.862% — bp-v2-0af7b50-825fa63 into v2

@mandre
mandre merged commit f552214 into v2 Aug 19, 2026
20 of 22 checks passed
@mandre
mandre deleted the bp-v2-0af7b50-825fa63 branch August 19, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edit:baremetal This PR updates baremetal code semver:minor Backwards-compatible change v2 This PR targets v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants