CORD-1180 Collection of fixes for hash-group buckets. Required the following changes:
Next-objectives that edited groups are now queued in the FlowObjectiveManager instead of the driver.
During linkup immediately checking for previous portups that should be added to a hash group.
A final retry 30 secs later to catch all ports that should be part of the same hash group.
Change-Id: I7ef450149d685890ca47932b8e559a0c11dc5ab4
diff --git a/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2GroupHandler.java b/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2GroupHandler.java
index aaca495..6a03ee6 100644
--- a/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2GroupHandler.java
+++ b/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2GroupHandler.java
@@ -984,7 +984,8 @@
* @param nextObjective the objective to process.
*/
protected void processPwNextObjective(NextObjective nextObjective) {
- log.warn("Pseudo wire extensions are not support for the OFDPA 2.0 {}", nextObjective.id());
+ log.warn("Pseudo wire extensions are not supported in OFDPA 2.0 {}",
+ nextObjective.id());
}
//////////////////////////////////////
@@ -1049,6 +1050,9 @@
objectiveToAdd = builder.addToExisting(context);
} else {
// buckets to add are already there - nothing to do
+ log.debug("buckets already exist {} in next: {} ..ignoring bucket add",
+ duplicateBuckets, nextObjective.id());
+ pass(nextObjective);
return;
}