mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
Remove a link from seenLink when either end of the link goes down
Change-Id: Ie650f6fd34f10ed91112f974684e97b99c916534
This commit is contained in:
parent
8694308c4e
commit
ed374235bf
@ -1116,6 +1116,10 @@ public class SegmentRoutingManager implements SegmentRoutingService {
|
||||
.forEach(entry -> {
|
||||
portNextObjStore.remove(entry.getKey());
|
||||
});
|
||||
|
||||
seenLinks.keySet().removeIf(key -> key.src().deviceId().equals(device.id()) ||
|
||||
key.dst().deviceId().equals(device.id()));
|
||||
|
||||
groupHandlerMap.remove(device.id());
|
||||
defaultRoutingHandler.purgeEcmpGraph(device.id());
|
||||
// Note that a switch going down is associated with all of its links
|
||||
|
Loading…
x
Reference in New Issue
Block a user