[NETCONF-745] Device Notification Created: 29/Nov/20 Updated: 06/Feb/23 Resolved: 11/Jan/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0 |
| Type: | New Feature | Priority: | Medium |
| Reporter: | Nikhil Soni | Assignee: | Nikhil Soni |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
HTTP client should be able to get Device notification after subscription. Implementation Details - 1. Added a new Device Notification Yang for Rest request which takes Sample - } 2. Create functionality to add/ register a listener in Netconf module for particular mount point of device POST - /rests/operations/odl-device-notification:subscribe-device-notification } Response - } |
| Comments |
| Comment by Nikhil Soni [ 26/May/22 ] |
|
Observations - 1. We can execute RPC create subscription from Restconf to Device which enables Notification in Device There is no restconf api where user can subscribe ( technically register notification listener on device mount point) Solution- we may required to augment of exiting Yang and need to update restconf code to support this functionality |
| Comment by Kowsalya Saravanan [ 23/Aug/22 ] |
|
Hi Nikhil, I'm testing this feature, after subscription I'm getting the stream path. but I'm not getting any notifications from the device. Did i miss any configuration. Please find the screenshot for the msg available in the sse http link. I have tested in both confd and testtool. In both I'm getting the ": ping" msg only. Please help me to test this feature. |