YPZhang
Committed by Gerrit Code Review

Add a MAX_PRIORITY for demo flowtest

Change-Id: Ib74be79cb8a5b9d01ed8f9eeaac49a7fe4939b19
......@@ -553,7 +553,7 @@ public class DemoInstaller implements DemoApi {
.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())
......