Closed apoorvashastry closed 2 years ago
This is a known issue. Closing as duplicate of #323.
@mbj4668 : What's the resolution or workaround for this? I looked into the #323 before opening this issue. I didn't quite understand what the workaround is. Can you please elaborate?
Pyang throws error if a submodule is augmenting a node from main module
I think in YANG 1.1 a submodule can augment main module. But still pyang reports error. Am I missing anything here or the model definition is wrong?
module1.yang:
module1-sub.yang: