The mandatory "prefix" substatement assigns a prefix for the module
to which the submodule belongs. All definitions in the module that
the submodule belongs to and all its submodules can be accessed by
using the prefix.
which differs from what is stated in RFC 6020.
Pyang doesn't let me use groupings defined in the module from within a submodule, as it complains with:
foosub.yang:6: error: grouping "mygrouping" not found in module foosub
RFC 7950 Section 7.2.2 states:
which differs from what is stated in RFC 6020. Pyang doesn't let me use groupings defined in the module from within a submodule, as it complains with:
foosub.yang:6: error: grouping "mygrouping" not found in module foosub
and