commit | 98f4e2c7dfb08d83622478fd5acc245f98c72309 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Mon Jul 09 10:45:04 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Mon Jul 09 20:10:26 2018 +0000 |
tree | 0be3f51af1e75d6f9c2e794814fbe53c9f8bfb54 | |
parent | d04e344cd5f98b9e05a01696c1f7d3e2fba0fd8f [diff] |
Fixing DefaultNicFlowRule Change-Id: If553999e36f9d82287851517dd83809d69c6c48b
diff --git a/drivers/pom.xml b/drivers/pom.xml index 24e3d36..a2b8cc9 100644 --- a/drivers/pom.xml +++ b/drivers/pom.xml
@@ -56,6 +56,7 @@ <module>microsemi/ea1000</module> <module>gnmi</module> <module>odtn-driver</module> + <module>server</module> </modules> <!--<properties>
diff --git a/drivers/server/src/main/java/org/onosproject/drivers/server/devices/nic/DefaultNicFlowRule.java b/drivers/server/src/main/java/org/onosproject/drivers/server/devices/nic/DefaultNicFlowRule.java index d50a2b0..cfb05ab 100644 --- a/drivers/server/src/main/java/org/onosproject/drivers/server/devices/nic/DefaultNicFlowRule.java +++ b/drivers/server/src/main/java/org/onosproject/drivers/server/devices/nic/DefaultNicFlowRule.java
@@ -101,7 +101,7 @@ NicRuleScope scope) { super(flowRule); - checkNotNull(!Strings.isNullOrEmpty(trafficClassId), + checkArgument(!Strings.isNullOrEmpty(trafficClassId), "NIC rule's traffic class ID is NULL or empty"); checkNotNull(interfaceName, "NIC rule's interface name is NULL");