[CONTROLLER-241] Topology data change event does not provide link removal data Created: 28/Mar/14 Updated: 19/Oct/17 Resolved: 08/Apr/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | 0.4.0 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Harman Singh | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| Issue Links: |
|
||||||||
| External issue ID: | 605 | ||||||||
| Description |
|
I am trying to listen to MD-SAL topology changes, specifically creation and removal of links. I register my listener for Links like following - dataService.registerDataChangeListener( Where my TopologyListener class, which implements DataChangeListener looks like following - public class TopologyListener implements DataChangeListener{ @Override Now, when a link is removed, change.getRemovedOperationalData() does not have data, its empty Set. It should have removed link data |
| Comments |
| Comment by Tony Tkacik [ 02/Apr/14 ] |
|
Are you able to see the link in restconf after removal? |
| Comment by Harman Singh [ 02/Apr/14 ] |
|
No, link is not present in topology restconf. Its just the data change event, does not give removed link information |