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

Expose SubmoduleEffectiveStatement from IncludeEffectiveStatement

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated: