[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 |
||
| Attachments: |
|
| 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/ |