commit | f853a59d2e10db978a3b10b69ccb9942bd6a12fd | [log] [tgz] |
---|---|---|
author | Devin Lim <devin@opennetworking.org> | Fri Apr 06 18:21:11 2018 -0700 |
committer | Yuta HIGUCHI <y-higuchi@opennetworking.org> | Sat Apr 07 01:21:32 2018 +0000 |
tree | 809f7804ea4a18068c626d5123dd50999795f499 | |
parent | 9b7217c5600a996ce0a982c6bb764fa530ff90a8 [diff] |
Revert back to the way group capable was checking to handle null Change-Id: If24db5853878dd78faa3926b626aee7a42e5d5a8
diff --git a/providers/openflow/group/src/main/java/org/onosproject/provider/of/group/impl/OpenFlowGroupProvider.java b/providers/openflow/group/src/main/java/org/onosproject/provider/of/group/impl/OpenFlowGroupProvider.java index 35ed436..da8e694 100644 --- a/providers/openflow/group/src/main/java/org/onosproject/provider/of/group/impl/OpenFlowGroupProvider.java +++ b/providers/openflow/group/src/main/java/org/onosproject/provider/of/group/impl/OpenFlowGroupProvider.java
@@ -394,7 +394,8 @@ if (driver == null) { return true; } - return Boolean.parseBoolean(driver.getProperty(GROUP_CAPABLE)); + String isGroupCapable = driver.getProperty(GROUP_CAPABLE); + return isGroupCapable == null || Boolean.parseBoolean(isGroupCapable); } private class InternalGroupProvider