feat: add support for RFC6243 with-defaults #136
No reviewers
Labels
No labels
breaking-change
bug
dependencies
duplicate
enhancement
go
good first issue
help wanted
invalid
investigation
proposal
proposal-accepted
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nemith/netconf!136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "brb/push-tzuqvlsxovmt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add support for with-defaults which extends , , and with a optional
<with-defaults>element.Pull request overview
This PR implements support for RFC6243 with-defaults capability in NETCONF operations. The implementation adds an optional
<with-defaults>element to<get>,<get-config>, and<copy-config>operations, allowing clients to control how default values are reported by the server.WithDefaultsModetype with four RFC6243-compliant mode constantsGet,GetConfig, andCopyConfigstructs with optionalWithDefaultsfield<with-defaults>element with proper namespaceReviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
WithDefaultsModetype, RFC6243 mode constants, and helper struct for XML marshalingWithDefaultsfield toGetstruct and updatesMarshalXMLto include with-defaults elementWithDefaultsfield toGetConfigandCopyConfigstructs with correspondingMarshalXMLupdates💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.