commit | 56df70f9297a338b3a3af9f0ed626d96a81f091c | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Tue Oct 28 22:26:15 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Tue Oct 28 22:26:15 2014 -0700 |
tree | 327481885bdb92c4aab25de780f9b08e90acd873 | |
parent | 4b524440822e7fcb7ba2ee8521657050640eb80d [diff] |
Added debug log Change-Id: Icc86bb91a382fd2d9bb013b9d6d30e0f45ffad74
diff --git a/core/net/src/main/java/org/onlab/onos/net/intent/impl/ObjectiveTracker.java b/core/net/src/main/java/org/onlab/onos/net/intent/impl/ObjectiveTracker.java index 5f8c073..d080b72 100644 --- a/core/net/src/main/java/org/onlab/onos/net/intent/impl/ObjectiveTracker.java +++ b/core/net/src/main/java/org/onlab/onos/net/intent/impl/ObjectiveTracker.java
@@ -148,7 +148,9 @@ if (reason instanceof LinkEvent) { LinkEvent linkEvent = (LinkEvent) reason; if (linkEvent.type() == LINK_REMOVED) { - Set<IntentId> intentIds = intentsByLink.get(linkKey(linkEvent.subject())); + final LinkKey linkKey = linkKey(linkEvent.subject()); + Set<IntentId> intentIds = intentsByLink.get(linkKey); + log.debug("recompile triggered by LinkDown {} {}", linkKey, intentIds); toBeRecompiled.addAll(intentIds); } recompileOnly = recompileOnly && linkEvent.type() == LINK_REMOVED;