[NETCONF-1068] YangLib: missing mandatory descendant "namespace" Created: 29/Jun/23 Updated: 29/Jun/23 |
|
| Status: | Open |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Ivan Hrasko | Assignee: | Ivan Hrasko |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pick-next, pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Currently, we do not set namespace field for models we are writing into ietf-yang-library's modules state. Thus we are getting exception during runtime: java.lang.IllegalArgumentException: Node (urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)module[{(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)name=ietf-inet-types, (urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)revision=2010-09-24}] is missing mandatory descendant /(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)namespace
See karaf.log for details. The production logic is in org.opendaylight.yanglib.impl.YangLibProviderClass. Steps to reproduce:
|