Skip to content

YANG Data Structure Extension#17

Merged
cabo merged 1 commit intocore-wg:mainfrom
vvilimek:main
Mar 2, 2026
Merged

YANG Data Structure Extension#17
cabo merged 1 commit intocore-wg:mainfrom
vvilimek:main

Conversation

@vvilimek
Copy link
Contributor

Is there a reason for using the rc:yang-data of RESTCONF [RFC 8040] YANG ietf-restconf module? I think usage of sx:structure statement of YANG Data Structure Extension [RFC 8791] (from YANG ietf-yang-structure-ext module) would be beneficial for future extensibility of the draft.

On the other hand the legacy rc:yang-data is the same construct used by RESTCONF.

@abierman
Copy link

The CoMI draft was first published in 2017, 3 years before RFC 8791.
Usage of rc:yang-data is now considered deprecated, and sx:structure is used instead.
No objections to this change since YANG doctors will flag this issue anyway.

@cabo cabo merged commit d15ff4c into core-wg:main Mar 2, 2026
1 check passed
@cabo
Copy link
Member

cabo commented Mar 2, 2026

Thank you.
Of course, by now we also have RFC 9290, so it is not quite clear to me which of these we should actually use.
I merged this base on Andy's comment on YANG doctors, but I'm not sure what the level of disturbance is that this creates.

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.

3 participants