commit | fe78f25e4d3bea14133e8aefdc01ebd1823bc094 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Wed Jul 29 17:49:24 2015 -0700 |
committer | Thomas Vachuska <tom@onlab.us> | Thu Jul 30 17:14:25 2015 +0000 |
tree | de0e027c06822411c96857d3a8018380c2d5ed94 | |
parent | bd812f8752205642afd6222d6869560902c57cf6 [diff] |
Refactoring addProcessor() calls to use type methods Change-Id: Ib38cc5122a9d9a8cbaafec593eb3eb32a795a28f
diff --git a/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java b/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java index 178723f..874faab 100644 --- a/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java +++ b/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
@@ -204,7 +204,7 @@ policyHandler = new PolicyHandler(appId, deviceConfiguration, flowObjectiveService, tunnelHandler, policyStore); - packetService.addProcessor(processor, PacketProcessor.ADVISOR_MAX + 2); + packetService.addProcessor(processor, PacketProcessor.director(2)); linkService.addListener(new InternalLinkListener()); deviceService.addListener(new InternalDeviceListener());