commit | e794cbe3494170bc86b7c883dcdb7fa327b20cce | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Fri Oct 17 13:21:23 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Fri Oct 17 13:21:23 2014 -0700 |
tree | da5a3ccff78dab0851cf69afdb3cdc5c4e2f28cb | |
parent | f735707bb9273d2e496d657e57c3129962b44bc3 [diff] |
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
diff --git a/core/net/src/main/java/org/onlab/onos/net/link/impl/LinkManager.java b/core/net/src/main/java/org/onlab/onos/net/link/impl/LinkManager.java index 779e1ee..210f51c 100644 --- a/core/net/src/main/java/org/onlab/onos/net/link/impl/LinkManager.java +++ b/core/net/src/main/java/org/onlab/onos/net/link/impl/LinkManager.java
@@ -214,6 +214,7 @@ checkNotNull(connectPoint, "Connect point cannot be null"); checkValidity(); log.info("Links for connection point {} vanished", connectPoint); + // FIXME: This will remove links registered by other providers removeLinks(getLinks(connectPoint)); }