commit | 4ce4596d628c312d75960eab41d2fe251f828791 | [log] [tgz] |
---|---|---|
author | Saurav Das <sauravdas@alumni.stanford.edu> | Tue Nov 24 23:21:05 2015 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Dec 04 19:49:00 2015 +0000 |
tree | 1e969df74c859a3b1ec965b3b0db6be97b3e2dea | |
parent | c2bfe339f0e04fd4e84f440f8ebda79401376610 [diff] |
CORD-367 L2 bridging and L3 routing support with internal VLANs in OF-DPA. Also includes: All forwarding in app is now via nextObjectives (not treatments) - Spring Open driver converts non-ECMP forwarding to flow-actions, while OF-DPA driver continues to use groups. Convert 'setMeta' methods to 'withMeta' in Flow Objectives API. Bug fix in Flow Objective Manager - set of PendingNext is now threadsafe. Bug fix in ArpHandler - now recognizes routerIp in addition to gatewayIps Removed a bunch of testcode Added group count in CLI Change-Id: Id3b879c5dda78151ca0ec359179f1604066d39fc
diff --git a/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultFilteringObjective.java b/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultFilteringObjective.java index 06305bf..4d9d722 100644 --- a/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultFilteringObjective.java +++ b/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultFilteringObjective.java
@@ -196,7 +196,7 @@ } @Override - public Builder setMeta(TrafficTreatment treatment) { + public Builder withMeta(TrafficTreatment treatment) { this.meta = treatment; return this; }
diff --git a/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultNextObjective.java b/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultNextObjective.java index 4701589..bd58050 100644 --- a/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultNextObjective.java +++ b/core/api/src/main/java/org/onosproject/net/flowobjective/DefaultNextObjective.java
@@ -181,7 +181,7 @@ } @Override - public Builder setMeta(TrafficSelector meta) { + public Builder withMeta(TrafficSelector meta) { this.meta = meta; return this; }
diff --git a/core/api/src/main/java/org/onosproject/net/flowobjective/FilteringObjective.java b/core/api/src/main/java/org/onosproject/net/flowobjective/FilteringObjective.java index 29257c6..8ed793d 100644 --- a/core/api/src/main/java/org/onosproject/net/flowobjective/FilteringObjective.java +++ b/core/api/src/main/java/org/onosproject/net/flowobjective/FilteringObjective.java
@@ -133,7 +133,7 @@ * @param treatment traffic treatment to use * @return a filtering builder */ - Builder setMeta(TrafficTreatment treatment); + Builder withMeta(TrafficTreatment treatment); /** * Assigns an application id.
diff --git a/core/api/src/main/java/org/onosproject/net/flowobjective/NextObjective.java b/core/api/src/main/java/org/onosproject/net/flowobjective/NextObjective.java index 08916eb..36098d7 100644 --- a/core/api/src/main/java/org/onosproject/net/flowobjective/NextObjective.java +++ b/core/api/src/main/java/org/onosproject/net/flowobjective/NextObjective.java
@@ -147,7 +147,7 @@ * @param selector match conditions * @return an objective builder */ - Builder setMeta(TrafficSelector selector); + Builder withMeta(TrafficSelector selector); /** * Builds the next objective that will be added.