Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-188

Can't resolve leafref when its path isn't part of the grouping declaring it

    XMLWordPrintable

Details

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

    • 6194

    Description

      I’m having trouble with a leafref definition:
      if I’m using relative path ../../../../../component/config/name
      yangtool fails with the following error: https://gist.github.com/adetalhouet/3fa35df94f530a24a936d9a3165bd36e
      if I’m using plain path, so /components/component/config/name
      yangtool succeed.

      This is the yang model https://github.com/openconfig/public/blob/master/release/models/platform/openconfig-platform.yang

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              adetalhouet Alexis de Talhouët
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: