Skip to content

Error while creating a stream to listen to notifications #2489

@ankita410

Description

@ankita410

We have started the docker container with jar of 'lighty-notifications-device' from lighty-netconf-simulator. Added a device , and was able to create-subscription and then trigger-notification using RestConf by integrating the NETCONF simulator device into Lighty RNC.
Post trigger notification, we are trying to create a stream to listen to the notifs using curl --request POST \ --url http://localhost:8888/restconf/operations/odl-device-notification:subscribe-device-notification \ --header 'content-type: application/json' \ --data '{ "input": { "path": "/network-topology:network-topology/topology[topology-id='\''topology-netconf'\'']/node[node-id='\''notification-device'\'']" } }'

Response we get - { "errors": { "error": [ { "error-tag": "operation-failed", "error-message": "No implementation of RPC (urn:opendaylight:device:notification?revision=2024-02-18)subscribe-device-notification available", "error-type": "rpc" } ] } }

Can you help us the identify the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions