110 add zto device registration#118
Open
clundie-CL wants to merge 4 commits intocamaraproject:mainfrom
Open
Conversation
Contributor
Author
|
I left this a draft in order to scrutinize further, especially in view of additional onboarding protocols we may want to include:
My guess is that both of these need to be punted for a future enhancement. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What type of PR is this?
What this PR does / why we need it:
Adds Trust Domain Device registration endpoints to the Network Access Management API, enabling zero-touch onboarding (ZTO) of subscriber and IoT devices to Trust Domains.
This introduces 5 new endpoints under
/trust-domains/{trustDomainId}/devicesfor full CRUD lifecycle management of devices within a Trust Domain, including support for multiple bootstrapping protocols (DPP, Matter) and flexible credential management (server-generated or client-assigned).Also includes consistency fixes to error responses across all existing endpoints (uniform 401/503, removal of unnecessary 400 on read-only endpoints).
Which issue(s) this PR fixes:
Fixes #110
Does this PR introduce a breaking change?
Special notes for reviewers:
This branch was rebased onto main after the #115 directory restructuring (Domain/ → modules/, Templates/ eliminated, bundled output no longer committed). The feature content is equivalent to what was previously on this branch, adapted to the new modular layout.
New files:
modules/TrustDomainDevices/TrustDomainDevices.yaml— all device registration schemas, parameters, and examplesModified files:
network-access-management.yaml— 5 new endpoints, new "Trust Domain Devices" tag, newnetwork-access-management:devicesscope in descriptionmodules/NAM_Common.yaml— addednetwork-access-management:devicesscope to OpenID security schemeError response consistency fixes (all endpoints):
401 Unauthorizedto all endpoints that were missing it503 Service Unavailableto all endpoints that were missing it400 Bad Requestfrom GET/DELETE endpoints that don't accept input beyond path parametersVerification:
redocly lintpasses with zero errorsredocly bundleproduces valid standalone outputChangelog input