[v2] Add support for zone sharing in DNS v2 #3294
Merged
+100
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport: #3286
This commit introduces functionality to share and unshare DNS zones with other projects using the OpenStack DNS v2 API. The following changes are included:
Share
andUnshare
methods inrequests.go
to handle API calls.results.go
to include parsing for share/unshare responses.urls.go
to generate proper URLs for share-related operations.requests_test.go
to validateShare
andUnshare
.These additions allow users to manage shared zones programmatically and align Gophercloud with the DNS v2 API capabilities.
Fixes #3048
Links to the line numbers/files in the OpenStack source code that support the code in this PR: