Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1365

Expose SubmoduleEffectiveStatement from IncludeEffectiveStatement

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 14.0.0
    • None
    • model-api, parser
    • None

      yang.model.api.Module exposes its submodules via getModules(). ModuleEffectiveStatement does not have that capability as it inlines all effective statements from submodules.

      This is a slight oversight, which we should fix cleanly – which is to expose the included submodule from the 'include' statement which inlines it. We also should be ignoring 'belongs-to' statements for the purposes of inlining and warn/error out if there is a mismatch (i.e. no include for a submodule).

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: