[YANGTOOLS-806] scope of model import prefix should be module/submodule, not module+submodules... Created: 17/Aug/17  Updated: 10/Apr/22  Resolved: 01/Sep/17

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Giles Heron Assignee: Peter Kajsa
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File err.log    
External issue ID: 9005

 Description   

as per https://tools.ietf.org/html/rfc6020#section-7.1.4:

"All prefixes, including the prefix for the module itself MUST be unique within the module or submodule."

it appears that ODL considers prefixes to apply across a module and all of its submodules.

The specific example where we're hitting this is openconfig-isis and its submodule openconfig-isis-lsp.

openconfig-isis (revision 2017-05-15 in this instance, but also the latest revision 2017-07-26) imports ietf-inet-types as "inet"

openconfig-isis-lsp (again in both these revisions) imports openconfig-inet-types as "inet".

this results in ODL being unable to mount the device.

Logs attached.



 Comments   
Comment by Giles Heron [ 17/Aug/17 ]

Attachment err.log has been added with description: section of karaf.log showing failure

Comment by Peter Kajsa [ 22/Aug/17 ]

stable boron: https://git.opendaylight.org/gerrit/#/c/62073/
stable carbon: https://git.opendaylight.org/gerrit/#/c/62144/
master: https://git.opendaylight.org/gerrit/#/c/62142/

Generated at Wed Feb 07 20:54:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.