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

Incorrect subscription request URL

XMLWordPrintable

      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
      

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

              Created:
              Updated:
              Resolved: