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

Extend yang statement parser to support different yang versions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 6867

    Description

      We need to extend yang statement parser to support different yang versions. Yang statement parser must be able to distinguish version of each yang source and perform parsing of this source in according to an identified version. We need also to support mixed-version schemacontext (imports across versions are allowed).

      Initial proposal is that we need to create new namespace for Yang 1.1 statements and to define new RFC7950 mapping (like existing RFC6020 mapping).
      According to yang version the parser gets appropriate statement support either from RFC7950 mapping or from RFC6020 mapping.

      Attachments

        Issue Links

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

          Activity

            People

              pkajsa Peter Kajsa
              pkajsa Peter Kajsa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: