Skip to content

feat(schema): classify mutate-on-write leaves from YANG overlays and types - #264

Draft
steiler wants to merge 2 commits into
mainfrom
feat/schema-mutate-on-write
Draft

steiler wants to merge 2 commits into
mainfrom
feat/schema-mutate-on-write

Conversation

@steiler

@steiler steiler commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Classifies YANG leaves and leaf-lists as mutate-on-write from overlay and type information, and emits mutate_on_write in the schema response.

Depends on sdcio/sdc-protos#144 for the mutate_on_write field. go.mod pins that commit (fe084f2516a8), so the PR builds from a clean clone.

Consumed by sdcio/data-server#567. Draft until sdc-protos#144 is merged and released.

…types

Populate LeafSchema.MutateOnWrite and LeafListSchema.MutateOnWrite from explicit sdcio-ext:mutate-on-write annotations (including deviate add overlays with arbitrary import prefixes) and known OpenConfig, IETF/IANA, Nokia SR Linux, Tail-f, and Cisco IOS-XR password/digest/cipher extensions and typedefs across inline types, typedef chains, unions, and leafrefs while excluding cleartext routing passwords and UI-only echo suppression.

Signed-off-by: Markus Vahlenkamp <markus.vahlenkamp@nokia.com>
Drop the local ../sdc-protos replace so the module builds from a clean
clone. Require sdc-protos at fe084f2516a8, the commit that adds
mutate_on_write to LeafSchema and LeafListSchema.

Signed-off-by: Markus Vahlenkamp <markus.vahlenkamp@nokia.com>
steiler added a commit to sdcio/data-server that referenced this pull request Nov 26, 2026
Drop the local ../sdc-protos and ../schema-server replaces so the module
builds from a clean clone. Require sdc-protos at fe084f2516a8 and
schema-server at 1476e1424a8b, the draft branch commits in
sdcio/sdc-protos#144 and sdcio/schema-server#264.

Signed-off-by: Markus Vahlenkamp <markus.vahlenkamp@nokia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant