adding log for error case
Change-Id: Id0f779ad951ef9d11f6b0afeda2d3cba9239f46a
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -31,8 +31,6 @@ import org.onosproject.event.EventDeliveryService; | ... | @@ -31,8 +31,6 @@ import org.onosproject.event.EventDeliveryService; |
| 31 | import org.onosproject.net.flow.FlowRule; | 31 | import org.onosproject.net.flow.FlowRule; |
| 32 | import org.onosproject.net.flow.FlowRuleBatchEntry; | 32 | import org.onosproject.net.flow.FlowRuleBatchEntry; |
| 33 | import org.onosproject.net.flow.FlowRuleBatchOperation; | 33 | import org.onosproject.net.flow.FlowRuleBatchOperation; |
| 34 | -import org.onosproject.net.flow.FlowRuleEvent; | ||
| 35 | -import org.onosproject.net.flow.FlowRuleListener; | ||
| 36 | import org.onosproject.net.flow.FlowRuleOperations; | 34 | import org.onosproject.net.flow.FlowRuleOperations; |
| 37 | import org.onosproject.net.flow.FlowRuleOperationsContext; | 35 | import org.onosproject.net.flow.FlowRuleOperationsContext; |
| 38 | import org.onosproject.net.flow.FlowRuleService; | 36 | import org.onosproject.net.flow.FlowRuleService; |
| ... | @@ -312,6 +310,8 @@ public class IntentManager | ... | @@ -312,6 +310,8 @@ public class IntentManager |
| 312 | @Override | 310 | @Override |
| 313 | public void onError(FlowRuleOperations ops) { | 311 | public void onError(FlowRuleOperations ops) { |
| 314 | //FIXME store.write(pending.setState(BROKEN)); | 312 | //FIXME store.write(pending.setState(BROKEN)); |
| 313 | + log.warn("Failed installation: {} {} on {}", pending.key(), | ||
| 314 | + pending.intent(), ops); | ||
| 315 | } | 315 | } |
| 316 | }); | 316 | }); |
| 317 | } | 317 | } | ... | ... |
-
Please register or login to post a comment