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

Enforce YANG 1/1.1 interoperability constraints

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 8.0.0
    • None
    • parser

      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.

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

              Created:
              Updated:
              Resolved: