commit | 6c277243ec043707e1dafe87abe47825ab289093 | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Wed Jul 01 08:46:48 2015 -0700 |
committer | alshabib <alshabibi.ali@gmail.com> | Wed Jul 01 08:47:08 2015 -0700 |
tree | 55cc1b3d8c53153d8292410031b9c6b786b8bbbe | |
parent | 2cc73cb19587beb5ec117d941d889bab32fe5711 [diff] |
default single pipeline should not throw an exception on filter or next Change-Id: Ic5f392db84e49221f42b09a75c16dfd9be58d100
diff --git a/drivers/src/main/java/org/onosproject/driver/pipeline/DefaultSingleTablePipeline.java b/drivers/src/main/java/org/onosproject/driver/pipeline/DefaultSingleTablePipeline.java index 2b4cb22..d204938 100644 --- a/drivers/src/main/java/org/onosproject/driver/pipeline/DefaultSingleTablePipeline.java +++ b/drivers/src/main/java/org/onosproject/driver/pipeline/DefaultSingleTablePipeline.java
@@ -57,9 +57,7 @@ } @Override - public void filter(FilteringObjective filter) { - throw new UnsupportedOperationException("Single table does not filter."); - } + public void filter(FilteringObjective filter) {} @Override public void forward(ForwardingObjective fwd) { @@ -126,8 +124,6 @@ } @Override - public void next(NextObjective nextObjective) { - throw new UnsupportedOperationException("Single table does not next hop."); - } + public void next(NextObjective nextObjective) {} }