Add FIXME to LinkManager
When multiple provider register Links (e.g., LLDP, Config), and one of the provider remove a Link, all the Links sharering the same ConnectionPoint will be removed. Change-Id: I8e607edd3eeabd849ff8ec9d92367019a42892ac
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -214,6 +214,7 @@ public class LinkManager | ... | @@ -214,6 +214,7 @@ public class LinkManager |
214 | checkNotNull(connectPoint, "Connect point cannot be null"); | 214 | checkNotNull(connectPoint, "Connect point cannot be null"); |
215 | checkValidity(); | 215 | checkValidity(); |
216 | log.info("Links for connection point {} vanished", connectPoint); | 216 | log.info("Links for connection point {} vanished", connectPoint); |
217 | + // FIXME: This will remove links registered by other providers | ||
217 | removeLinks(getLinks(connectPoint)); | 218 | removeLinks(getLinks(connectPoint)); |
218 | } | 219 | } |
219 | 220 | ... | ... |
-
Please register or login to post a comment