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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 6194

      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

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

              Created:
              Updated:
              Resolved: