commit | d492c54efda525958a4dacccc29b8d7d4ba6bb8c | [log] [tgz] |
---|---|---|
author | Pier Luigi <pierventre@hotmail.com> | Thu Mar 16 10:06:21 2017 +0100 |
committer | Ray Milkey <ray@onlab.us> | Thu Apr 13 18:07:51 2017 +0000 |
tree | 54e89a560520daffd188d28637ee78eb5aab3b2f | |
parent | 7056a0440f4f21db67969966dcc90d836b2305ae [diff] |
[ONOS-6033] Corsa pipelines should filter the clear deferred actions Changes: - Fix for Corsa CDP6410 - Fix for Corsa CDP2100 Change-Id: I5e9d2869c76f8ad65adc697955094dcf6dd101e2 (cherry picked from commit f90c650fd594434afa65349d7a62dfd8c0e548a5)
diff --git a/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultForwardingObjective.java b/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultForwardingObjective.java index f076fda..9a6952f 100644 --- a/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultForwardingObjective.java +++ b/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultForwardingObjective.java
@@ -181,6 +181,17 @@ return new Builder(); } + /** + * Returns a new builder primed to produce entities + * patterned after the supplied forwarding objective. + * + * @param fwd base fwd + * @return forwarding objective builder + */ + public static Builder builder(ForwardingObjective fwd) { + return new Builder(fwd); + } + @Override public Builder copy() {