[CONTROLLER-1730] Unnable to receive DataTreeChanged notifications Created: 26/Jun/17  Updated: 19/Oct/17  Resolved: 29/Jun/17

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Nitrogen
Fix Version/s: None

Type: Bug
Reporter: Yrineu Felipe Rodrigues Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: PNG File add-intent-nic.png     PNG File intent-get.png     Text File karaf-copy.log     Text File trace-add-intent-limiter-nic.txt    
Issue Links:
Blocks
blocks NIC-33 Unnable to receive DataTreeChanged no... Resolved
External issue ID: 8750

 Description   

After 'odl-parent 2.0.0' migration, I'm now able to receive notifications for NodeTree changes.



 Comments   
Comment by Yrineu Felipe Rodrigues [ 26/Jun/17 ]

Attachment karaf-copy.log has been added with description: Karaf log

Comment by Yrineu Felipe Rodrigues [ 26/Jun/17 ]

Attachment add-intent-nic.png has been added with description: Intent Added

Comment by Yrineu Felipe Rodrigues [ 27/Jun/17 ]

This GET request was evaluated after a POST

Steps to reproduce:

1- Download NIC code and build it from Master branch(git clone https://git.opendaylight.org/gerrit/p/nic)

2- Start karaf (nic/distribution/target/assembly/bin karaf)

3- Install NIC features: opendaylight-user@root>feature:install odl-nic-all

4- Execute the following POST request:

URL: http://localhost:8181/restconf/config/intent-limiter:intents-limiter
Body:
{
"intent-limiter:intent-limiter": [

{ "intent-limiter:interval-type": "MINUTES", "intent-limiter:duration-type": "MINUTES", "intent-limiter:id": "4facae7f-28a3-4820-a5ec-81be43e30d82", "intent-limiter:source-ip": "10.0.0.4/32", "intent-limiter:bandwidth-limit-type": "KBPS", "intent-limiter:duration": "10", "intent-limiter:bandwidth-limit": "200", "intent-limiter:interval": 3, "intent-limiter:action": "DROP" }

]
}

5- You should be able to see 'info' logs regarding 'New Intent Added'

6- Evaluate a GET to the following URL:
http://localhost:8181/restconf/config/intent-limiter:intents-limiter

PS: In normal cases, NIC will receive notification of Intent Added and start the Intent State Machine process. To verify if the Intent State Machine process happens, please, evaluate a GET request to the following URL: (http://localhost:8181/restconf/config/intent-state-transaction:intent-state-transactions)

Comment by Yrineu Felipe Rodrigues [ 27/Jun/17 ]

Attachment intent-get.png has been added with description: Evaluating an Intent GET request

Comment by Yrineu Felipe Rodrigues [ 28/Jun/17 ]

Trace after POST request.

Comment by Yrineu Felipe Rodrigues [ 28/Jun/17 ]

Attachment trace-add-intent-limiter-nic.txt has been added with description: Trace after POST request.

Comment by Yrineu Felipe Rodrigues [ 29/Jun/17 ]

After migrate all NIC modules to blueprint we can receive MD-SAL events.

Generated at Wed Feb 07 19:56:18 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.