Fixed setting of flowPriority and flowTimeout default values after scr property-delete
Change-Id: I3988e4912b91b82f56955a3c9868b74c498a03d5
diff --git a/apps/fwd/src/main/java/org/onosproject/fwd/ReactiveForwarding.java b/apps/fwd/src/main/java/org/onosproject/fwd/ReactiveForwarding.java
index 8540ba1..bb29e65 100644
--- a/apps/fwd/src/main/java/org/onosproject/fwd/ReactiveForwarding.java
+++ b/apps/fwd/src/main/java/org/onosproject/fwd/ReactiveForwarding.java
@@ -331,6 +331,7 @@
Integer flowTimeoutConfigured =
getIntegerProperty(properties, "flowTimeout");
if (flowTimeoutConfigured == null) {
+ flowTimeout = DEFAULT_TIMEOUT;
log.info("Flow Timeout is not configured, default value is {}",
flowTimeout);
} else {
@@ -341,6 +342,7 @@
Integer flowPriorityConfigured =
getIntegerProperty(properties, "flowPriority");
if (flowPriorityConfigured == null) {
+ flowPriority = DEFAULT_PRIORITY;
log.info("Flow Priority is not configured, default value is {}",
flowPriority);
} else {