commit | 4730976d8fd339b697226e805558e0aec2d6e3e6 | [log] [tgz] |
---|---|---|
author | YPZhang <yunpeng@onlab.us> | Fri Jun 17 16:27:41 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Jun 20 23:14:12 2016 +0000 |
tree | 5874fd4af229e3a27043fea429e819145b9c12a4 | |
parent | defc16e48b7021991d2f8bbe9ec0c9b3d2bb6549 [diff] |
Add a MAX_PRIORITY for demo flowtest Change-Id: Ib74be79cb8a5b9d01ed8f9eeaac49a7fe4939b19
diff --git a/apps/test/demo/src/main/java/org/onosproject/demo/DemoInstaller.java b/apps/test/demo/src/main/java/org/onosproject/demo/DemoInstaller.java index d12133c..4fa383a 100644 --- a/apps/test/demo/src/main/java/org/onosproject/demo/DemoInstaller.java +++ b/apps/test/demo/src/main/java/org/onosproject/demo/DemoInstaller.java
@@ -553,7 +553,7 @@ .matchEthDst(MacAddress.valueOf((Integer.MAX_VALUE - i) * RandomUtils.nextInt())); - int randomPriority = RandomUtils.nextInt(); + int randomPriority = RandomUtils.nextInt(FlowRule.MAX_PRIORITY); FlowRule f = DefaultFlowRule.builder() .forDevice(d.id()) .withSelector(sbuilder.build())