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

Incorrect subscription request URL

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • 6.0.1, 6.0.2
    • 7.0.0, 6.0.3
    • restconf-nb

    Description

      Discovered in netconf-csit-1node-userfeatures-all-master #287.

      Subscription request fails with the following error:

      GET /rests/data/ietf-restconf-monitoring:restconf-state/streams/stream/data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE
      
      <errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
          <error>
              <error-tag>data-missing</error-tag>
              <error-message>No listener found for stream stream/data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE</error-message>
              <error-type>application</error-type>
          </error>
      </errors>
      

      So the controller is taking the following as the stream name:

      stream/data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE
      

      instead of this:

      data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE
      

      Attachments

        Issue Links

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

          Activity

            People

              rovarga Robert Varga
              sangwookha Sangwook Ha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: