Skip to content

Core fix submod name#22

Open
vvilimek wants to merge 2 commits into
core-wg:corefrom
vvilimek:core-fix-submod-name
Open

Core fix submod name#22
vvilimek wants to merge 2 commits into
core-wg:corefrom
vvilimek:core-fix-submod-name

Conversation

@vvilimek
Copy link
Copy Markdown
Collaborator

Summary of changes:

  • Fixed SID item identifier paths for nodes defined in YANG submodules.
    Reported by Andy Bierman on IETF CoRE mailing list. The initial report is here.
  • Corrected behavior of generation of .sid files for YANG submodules.
    Related to previous point.

The previous version generated paths incorrectly because the submodules
does not have their own namespace. Submodules live in namespace of it's
parent module.

For example (for module ietf-snmp.yang and all it's submodules)
/ietf-snmp-common:snmp/ietf-snmp-engine:engine/engine-id is incorrect
/ietf-snmp:snmp/engine/engine-id is correct
I wrongly removed generation of items of submodules. This commit reverts
my mistake. Thanks to Andy Bierman for notice.
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