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

Reformulate LeafRefValidation in terms of PathExpression

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 4.0.4
    • data-impl
    • None

    Description

      Current implementation of LeafRefValidation relies on parsing the path expression, containing a duplicate ANTLR parser for that purpose.

      Leafref paths are already being fully parsed by the YANG parser, exposing the expression in terms of normal steps.

      This should be sufficient to eliminate duplicate parsing and re-formulating LeafRefValidation such that it will walk the individual steps and construct its enforcement structure accordingly.

      Attachments

        Issue Links

          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: