Skip to content

RFC9595: Redefine the schema-node-path typedef - #181

Open
vvilimek wants to merge 1 commit into
core-wg:errata-sidfrom
vvilimek:errata-sid-rc-sx
Open

RFC9595: Redefine the schema-node-path typedef#181
vvilimek wants to merge 1 commit into
core-wg:errata-sidfrom
vvilimek:errata-sid-rc-sx

Conversation

@vvilimek

@vvilimek vvilimek commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

This change is against the YANG update rules because we change typedef's semantics.

Based on what people from the NETMOD WG are saying: The extensions are not part of the schema tree, meaning they should not appear on standard YANG "absolute-schema-nodeid" identified strings.

This definition should fix this separation.

For the rc:yang-data I propose similar solution as for the choice and case nodes.

module example {
  // ... 
  rc:yang-data never-used-name {
    container actual-yang-data {
      leaf version { type uint32; }
      leaf name { type string; }
    }
  }
}

The path for the actual-yang-data and version should be:
/example:actual-yang-data, resp.
/example:actual-yang-data/version

This change is against the YANG update rules because we change
typedef's semantics.
@vvilimek

vvilimek commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator Author

ML discussion

@vvilimek

Copy link
Copy Markdown
Collaborator Author

Rework: the absolute-schema-nodeid does not come with semantics binding the identifier to (classical YANG) schema nodes. That being said, we should clarify how to encode paths with sx:structure and rc:yang-data.

@vvilimek vvilimek changed the title Redefine the schema-node-path typedef RFC9595: Redefine the schema-node-path typedef Jul 21, 2026
@vvilimek

Copy link
Copy Markdown
Collaborator Author

A related PR #171.

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