Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-309

leafref as a type of key in list

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: Windows
      Platform: PC

    • 718

    Description

      when URI contains key of list and this key is leafref type then Restconf returns:
      "fooKey from URI can't be resolved. "

      yang snippet example:
      list fooList {
      key "name";

      leaf name {
      type leafref

      { path "../../pathToLeaf/LeafName"; }

      }
      }

      URI example:
      restconf/config/moduleName:fooList/fooKey

      Attachments

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

        Activity

          People

            msunal@cisco.com Martin Sunal
            msunal@cisco.com Martin Sunal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: