Closed deastoe closed 2 years ago
With the following example modelset:
module base { namespace "uri:base"; prefix base; container root; }
module foo { namespace "uri:foo"; prefix foo; import base { prefix base; } grouping foo-grp { container foo { presence "foo enabled"; } } uses foo-grp { refine foo { // /foo and /base:root/foo are mutually exclusive must "not(/base:root/foo:foo)"; } } augment "/base:root" { uses foo-grp; } }
The latest pyang generates an unexpected warning:
$ pyang foo.yang foo.yang:18: warning: node "foo::foo" is not found in "base::root"
Reverting f24051c872709ec5c057ea4783cb7faa94c8d56d removes the warning.
Thanks for the quick fix @mbj4668!
With the following example modelset:
The latest pyang generates an unexpected warning:
Reverting f24051c872709ec5c057ea4783cb7faa94c8d56d removes the warning.