Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-794

RESTCONF provide wrong DOMDataTreeIdentifier path for Actions when is invoke

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Won't Do
    • None
    • None
    • restconf-nb

    Description

      When Action is invoked through RESTCONF, it will provide wrong DOMDataTreeIdentifier path for specific Action. This path will point to the parent of called Action.

      https://github.com/opendaylight/mdsal/blob/master/dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/DOMRpcRouter.java#L546
      entry.getImplementations(path).get(0).invokeAction(type, path, input)

      path = DOMDataTreeIdentifier{datastore=OPERATIONAL, root=/(instance:identifier:module?revision=2014-01-17)cont/cont1}

      Registered implementation key is:
      DOMDataTreeIdentifier{datastore=OPERATIONAL, root=/(instance:identifier:module?revision=2014-01-17)cont/cont1/reset}

      Attachments

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

        Activity

          People

            ivanhrasko Ivan Hrasko
            PeterSuna Peter Suna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: