Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Yuta HIGUCHI
2014-10-28 22:26:15 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
56df70f9297a338b3a3af9f0ed626d96a81f091c
56df70f9
1 parent
4b524440
Added debug log
Change-Id: Icc86bb91a382fd2d9bb013b9d6d30e0f45ffad74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
core/net/src/main/java/org/onlab/onos/net/intent/impl/ObjectiveTracker.java
core/net/src/main/java/org/onlab/onos/net/intent/impl/ObjectiveTracker.java
View file @
56df70f
...
...
@@ -148,7 +148,9 @@ public class ObjectiveTracker implements ObjectiveTrackerService {
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
;
...
...
Please
register
or
login
to post a comment