Committed by
Gerrit Code Review
Adding Device Listiner to BgpRouter so that filtering rules are sent to the
driver only after the device is available. Change-Id: I377402b87cee6c02c087efbcc4f0cff4f19e1ca3
Showing
3 changed files
with
4 additions
and
3 deletions
This diff is collapsed. Click to expand it.
... | @@ -67,7 +67,7 @@ import static org.onlab.util.Tools.groupedThreads; | ... | @@ -67,7 +67,7 @@ import static org.onlab.util.Tools.groupedThreads; |
67 | @Service | 67 | @Service |
68 | public class FlowObjectiveManager implements FlowObjectiveService { | 68 | public class FlowObjectiveManager implements FlowObjectiveService { |
69 | 69 | ||
70 | - public static final int INSTALL_RETRY_ATTEMPTS = 10; | 70 | + public static final int INSTALL_RETRY_ATTEMPTS = 5; |
71 | public static final long INSTALL_RETRY_INTERVAL = 1000; // ms | 71 | public static final long INSTALL_RETRY_INTERVAL = 1000; // ms |
72 | 72 | ||
73 | private final Logger log = LoggerFactory.getLogger(getClass()); | 73 | private final Logger log = LoggerFactory.getLogger(getClass()); | ... | ... |
... | @@ -270,7 +270,7 @@ public class OVSCorsaPipeline extends AbstractHandlerBehaviour implements Pipeli | ... | @@ -270,7 +270,7 @@ public class OVSCorsaPipeline extends AbstractHandlerBehaviour implements Pipeli |
270 | Criteria.IPProtocolCriterion ipProto = (Criteria.IPProtocolCriterion) selector | 270 | Criteria.IPProtocolCriterion ipProto = (Criteria.IPProtocolCriterion) selector |
271 | .getCriterion(Criterion.Type.IP_PROTO); | 271 | .getCriterion(Criterion.Type.IP_PROTO); |
272 | if (ipSrc != null) { | 272 | if (ipSrc != null) { |
273 | - log.warn("Driver currently does not currently handle matching Src IP"); | 273 | + log.warn("Driver does not currently handle matching Src IP"); |
274 | fail(fwd, ObjectiveError.UNSUPPORTED); | 274 | fail(fwd, ObjectiveError.UNSUPPORTED); |
275 | return Collections.emptySet(); | 275 | return Collections.emptySet(); |
276 | } | 276 | } |
... | @@ -797,7 +797,8 @@ public class OVSCorsaPipeline extends AbstractHandlerBehaviour implements Pipeli | ... | @@ -797,7 +797,8 @@ public class OVSCorsaPipeline extends AbstractHandlerBehaviour implements Pipeli |
797 | } | 797 | } |
798 | pass(obj); | 798 | pass(obj); |
799 | pendingGroups.invalidate(key); | 799 | pendingGroups.invalidate(key); |
800 | - log.info("Heard back from group service for group {}", obj.id()); | 800 | + log.info("Heard back from group service for group {}. " |
801 | + + "Applying pending forwarding objectives", obj.id()); | ||
801 | flowObjectiveStore.putNextGroup(obj.id(), new CorsaGroup(key)); | 802 | flowObjectiveStore.putNextGroup(obj.id(), new CorsaGroup(key)); |
802 | }); | 803 | }); |
803 | } | 804 | } | ... | ... |
-
Please register or login to post a comment