blob: 0ff36447edc7ca71f7eb75ab4747b6baa3cb1799 [file] [log] [blame]
Ray Milkey2e78d902016-03-01 09:35:36 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
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
Daniele Moro06aac702021-07-19 22:39:22 +020020import org.onosproject.core.ApplicationId;
Ray Milkey2e78d902016-03-01 09:35:36 -080021import org.onosproject.net.DeviceId;
22import org.onosproject.net.driver.DriverData;
23import org.onosproject.net.driver.DriverHandler;
24import org.onosproject.net.flowobjective.FilteringObjective;
25import org.onosproject.net.flowobjective.ForwardingObjective;
26import org.onosproject.net.flowobjective.NextObjective;
27
28/**
29 * Testing adapter for pipeliner class.
30 */
31public class PipelinerAdapter implements Pipeliner {
32 @Override
33 public void init(DeviceId deviceId, PipelinerContext context) {
34
35 }
36
37 @Override
38 public void filter(FilteringObjective filterObjective) {
39
40 }
41
42 @Override
43 public void forward(ForwardingObjective forwardObjective) {
44
45 }
46
47 @Override
48 public void next(NextObjective nextObjective) {
49
50 }
51
52 @Override
Daniele Moro06aac702021-07-19 22:39:22 +020053 public void purgeAll(ApplicationId appId) {
54
55 }
56
57 @Override
Ray Milkey2e78d902016-03-01 09:35:36 -080058 public DriverHandler handler() {
59 return null;
60 }
61
62 @Override
63 public void setHandler(DriverHandler handler) {
64
65 }
66
67 @Override
68 public DriverData data() {
69 return null;
70 }
71
72 @Override
73 public void setData(DriverData data) {
74
75 }
Saurav Das24431192016-03-07 19:13:00 -080076
77 @Override
78 public List<String> getNextMappings(NextGroup nextGroup) {
79 return null;
80 }
Ray Milkey2e78d902016-03-01 09:35:36 -080081}