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

SSE with sub identifier does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • 7.0.0, 5.0.8, 6.0.3
    • 4.0.5, 5.0.4
    • restconf-nb
    • None

      When you create a stream with SSE on a sub node of the data store, stream events are not reported. For example subscribe to PCEP Topology within the network topology with:
       

      {
        "input": {
          "path": "/network-topology:network-topology/topology[topology-id='pcep-topology']",
          "sal-remote-augment:datastore": "OPERATIONAL",
          "sal-remote-augment:scope": "SUBTREE",
          "notification-output-type": "JSON"
        }
      }

       
      will not produce any events while subscribing to top "network-topology:network-topology" produces event.

      Note that adding optional 'odl-leaf-nodes-only=true' when you get the stream url will work. SSE events are produce as expected.

            sangwookha Sangwook Ha
            odd22 Olivier Dugeon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: