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

Enforce YANG 1/1.1 interoperability constraints

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 8.0.0
    • parser

    Description

      RFC7950 specifies requirements for interoperability between RFC6020 and RFC7950 models:

         A YANG version 1.1 module MUST NOT include a YANG version 1
         submodule, and a YANG version 1 module MUST NOT include a YANG
         version 1.1 submodule.
      
         A YANG version 1 module or submodule MUST NOT import a YANG
         version 1.1 module by revision.
      
         A YANG version 1.1 module or submodule MAY import a YANG version 1
         module by revision.

      Add the corresponding checks and test suite so we enforce MUST NOTs as appropriate.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: