[NETCONF-971] Having issue with ODL notification subscription Created: 07/Mar/23  Updated: 10/Mar/23

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

Type: Bug Priority: High
Reporter: Prateek Nayek Assignee: Nikhil Soni
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File Change event notification subscript.txt     Text File create_subscription.txt     Text File error.txt    

 Description   

I having issues with the subscription in ODL for notifications through WebSocket .

> Accept: /
> Content-Type: application/json
> Content-Length: 178
>

  • upload completely sent off: 178 out of 178 bytes
    < HTTP/1.1 405 Method Not Allowed
    < Set-Cookie: JSESSIONID=node013wpr7w0wwu0k1v6bqg5f1l4pe0.node0; Path=/; HttpOnly
    < Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Mon, 06-Mar-2023 13:17:25 GMT; SameSite=lax
    < Allow: POST,GET,OPTIONS
    < Content-Length: 0
    <
  • Connection #0 to host 127.0.0.1 left intact

 

 

 

 

 



 Comments   
Comment by Nikhil Soni [ 07/Mar/23 ]

pratik898  There is no steps or details  you have added in this ticket.
Can't understand what  you are doing.

Comment by Prateek Nayek [ 10/Mar/23 ]

nikhil.soni.lumina Please find all the steps followed by us and the approach we are trying to do:

 

Approach : To see netconf of notifications through ODL using web-socket .client

 

TOPOLOGY:

 

OLT(running netconf server) – BAA – ODL (md-sal-server)

 

we are trying to subscribe to ODL to create a stream so that we can get the stream datastore address so  that we can connect using websocket client. But subscription itself is failing .

 

Change event notification subscript.txtPFA steps we are following

https://jira.opendaylight.org/browse/NETCONF-745?jql=text%20~%20%22notification%22 this steps also i tried but again getting same error these steps are explained by nikhil.soni.lumina 

PFA error logs error.txt

PFA script used by us to create stream create_subscription.txt

Also some addition details:

1: karaf version:

opendaylight-user@root>version
4.2.11

 

Doubts:

1: which ODL version i can use for notification support 

2: which yangs i need to load externally in ODL to support notifications

3: which features need to be installed in ODl for working notifications

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