blob: b3296bdf4b890b1ebbd929a26155395702970e58 [file] [log] [blame]
Ray Milkey2e78d902016-03-01 09:35:36 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Ray Milkey2e78d902016-03-01 09:35:36 -08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.net.behaviour;
17
Saurav Das24431192016-03-07 19:13:00 -080018import java.util.List;
19
Ray Milkey2e78d902016-03-01 09:35:36 -080020import org.onosproject.net.DeviceId;
21import org.onosproject.net.driver.DriverData;
22import org.onosproject.net.driver.DriverHandler;
23import org.onosproject.net.flowobjective.FilteringObjective;
24import org.onosproject.net.flowobjective.ForwardingObjective;
25import org.onosproject.net.flowobjective.NextObjective;
26
27/**
28 * Testing adapter for pipeliner class.
29 */
30public class PipelinerAdapter implements Pipeliner {
31 @Override
32 public void init(DeviceId deviceId, PipelinerContext context) {
33
34 }
35
36 @Override
37 public void filter(FilteringObjective filterObjective) {
38
39 }
40
41 @Override
42 public void forward(ForwardingObjective forwardObjective) {
43
44 }
45
46 @Override
47 public void next(NextObjective nextObjective) {
48
49 }
50
51 @Override
52 public DriverHandler handler() {
53 return null;
54 }
55
56 @Override
57 public void setHandler(DriverHandler handler) {
58
59 }
60
61 @Override
62 public DriverData data() {
63 return null;
64 }
65
66 @Override
67 public void setData(DriverData data) {
68
69 }
Saurav Das24431192016-03-07 19:13:00 -080070
71 @Override
72 public List<String> getNextMappings(NextGroup nextGroup) {
73 return null;
74 }
Ray Milkey2e78d902016-03-01 09:35:36 -080075}