Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
0.4.0
-
None
-
None
-
Operating System: Mac OS
Platform: PC
-
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(
InstanceIdentifier.builder(NetworkTopology.class).child(Topology.class, new TopologyKey(new TopologyId("flow:1")))
.child(Link.class).toInstance(), new TopologyListener());
Where my TopologyListener class, which implements DataChangeListener looks like following -
public class TopologyListener implements DataChangeListener{
@Override
public void onDataChanged(
DataChangeEvent<InstanceIdentifier<?>, DataObject> change)
Now, when a link is removed, change.getRemovedOperationalData() does not have data, its empty Set.
It should have removed link data
Attachments
Issue Links
- duplicates
-
CONTROLLER-220 DataChange even is inconsistent with changes in the data store via Restconf
- Resolved