[NETCONF-1236] No implementation of subscribe-device-notification available Created: 26/Jan/24  Updated: 01/Feb/24

Status: Open
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Ivan Hrasko Assignee: Ivan Hrasko
Resolution: Unresolved Votes: 0
Labels: pick-next, pt, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When trying to follow https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#receiving-netconf-device-notifications-on-a-http-client on current main branch we get:

{
    "errors": {
        "error": [
            {
                "error-tag": "operation-failed",
                "error-message": "No implementation of RPC (urn:opendaylight:device:notification?revision=2022-11-06)subscribe-device-notification available",
                "error-type": "rpc"
            }
        ]
    }
}

After invoking:

POST http://localhost:8181/rests/operations/odl-device-notification:subscribe-device-notification

with payload (please adapt for your device ID):

{
  "input": {
     "path":"/network-topology:network-topology/topology[topology-id='topology-netconf']/node[node-id='netopeer3']"
  }
} 

Fix this.

 


Generated at Wed Feb 07 20:17:00 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.