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
Brian O'Connor
2015-06-01 15:25:53 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b55d6e6da46e431fc9625d544622ceaed663a95e
b55d6e6d
1 parent
37cffe80
Minor intent cleanup
Change-Id: I72dae58879f5b45566d5f120f6fd85807460bb78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
core/net/src/main/java/org/onosproject/net/intent/impl/IntentCleanup.java
core/net/src/main/java/org/onosproject/net/intent/impl/IntentCleanup.java
View file @
b55d6e6
...
...
@@ -181,7 +181,8 @@ public class IntentCleanup implements Runnable, IntentListener {
service
.
withdraw
(
intentData
.
intent
());
break
;
default
:
//TODO this is an error, might want to log it
log
.
warn
(
"Trying to resubmit corrupt intent {} in state {} with request {}"
,
intentData
.
key
(),
intentData
.
state
(),
intentData
.
request
());
break
;
}
}
...
...
@@ -195,7 +196,8 @@ public class IntentCleanup implements Runnable, IntentListener {
service
.
withdraw
(
intentData
.
intent
());
break
;
default
:
//TODO this is an error (or could be purge), might want to log it
log
.
warn
(
"Trying to resubmit pending intent {} in state {} with request {}"
,
intentData
.
key
(),
intentData
.
state
(),
intentData
.
request
());
break
;
}
}
...
...
@@ -225,7 +227,6 @@ public class IntentCleanup implements Runnable, IntentListener {
}
for
(
IntentData
intentData
:
store
.
getPendingData
(
true
,
periodMs
))
{
//TODO should we do age check here, or in the store?
resubmitPendingRequest
(
intentData
);
stuckCount
++;
}
...
...
Please
register
or
login
to post a comment