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

documentation on stream creation for yang notifications

    XMLWordPrintable

Details

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

    • 5886

    Description

      The current information seems limited and only works for data change event notifications.
      https://github.com/opendaylight/docs/blob/master/manuals/developer-guide/src/main/asciidoc/controller/websocket-notifications.adoc

      It will be really nice if it can be updated with working stream creation for yang notifications.

      When I tried

      http://<host>:8181/restconf/operations/sal-remote:create-notification-stream

      {
      "input":

      { "notifications":["(urn:ietf:params:xml:ns:yang:ietf-te-topology?revision=2016-03-17)te-node-event"] }

      }

      Response is

      {
      "errors": {
      "error": [

      { "error-type": "application", "error-tag": "operation-failed", "error-message": "Instance identifier was not normalized correctly " }

      ]
      }
      }

      I think I am providing correct information and not able to understand what else is missing.

      Attachments

        Issue Links

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

          Activity

            People

              jakubtoth-0 Jakub Toth
              hari@harinath.in Harinath Mallepally
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: