Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
-
280
-
High
Description
Having model ROOT and two models A and B (all three different namespace), if A and B have the same augment instruction to augment ROOT, the parsing fails with error:
[ERROR] yang-to-sources: Unable to parse yang files
org.opendaylight.yangtools.yang.parser.util.YangParseException: Error in module 'pcep-ietf-stateful' at line 321: Failed to perform augmentation: Error in module 'pcep-message' at line 28: Can not add 'container lsp-db-version' to 'container tlvs' in module 'pcep-message': node with same name already declared at line 28
commit: https://git.opendaylight.org/gerrit/#/c/4140/
model A:
augment "/msg:open/msg:open-message/msg:open/msg:tlvs"
model B:
augment "/msg:open/msg:open-message/msg:open/msg:tlvs"