While parsing the attached yang files, I see the below exception
Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Augment target 'Descendant
{qnames=[(urn:ietf:params:xml:ns*:ietf-netconf-server*?revision=2018-10-22)client-auth]}' not found [at ietf-netconf-server.yang:86:16]
Problem: we have a "augment" statement under "uses", which is failed to validate in 6.0.6 (it was working in 3.0.16).
uses ts:tls-server-grouping {
refine "client-auth" {
...
augment "client-auth" {
...
Here the issue occurs at augment, saying that client-auth is not found in ietf-netconf-server. But, The client-auth container is defined under the grouping in ietf-tls-server.
Note: I have tried adding prefix to client-auth, that is augment "ts:client-auth" {
It is still failing but with different exception - Augment target 'Descendant
{qnames=[(urn:ietf:params:xml:ns:yang:*ietf-tls-server*?revision=2018-10-22)client-auth]}' not found [at ietf-netconf-server.yang:86:16]
- relates to
-
YANGTOOLS-1514 Failed to process YANGs containing refine of a if-feature'd target
- Resolved