Re: [netmod] unresolved module prefixes in grouping definitions

2022-07-01 Thread Andy Bierman
Hi, I think this is an error because any module that uses this grouping will fail. The prefixes are resolved in the module they are defined in, not the module they are used in. Andy On Fri, Jul 1, 2022 at 3:24 AM Vladimir Vassilev < vladi...@lightside-instruments.com> wrote: > Hi, > > Should

[netmod] unresolved module prefixes in grouping definitions

2022-07-01 Thread Vladimir Vassilev
Hi, Should YANG validation fail if a module defines a grouping that contains unresolved module prefix or should this generate only warning. In case the grouping is not instantiated that is. For example ietf-netconf-cli...@2022-05-24.yang does not import ietf-keystore and has no prefix 'ks'.