Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Foundation |
Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 3 | * |
| 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 | */ |
| 16 | package org.onosproject.net.behaviour; |
| 17 | |
Saurav Das | 2443119 | 2016-03-07 19:13:00 -0800 | [diff] [blame] | 18 | import java.util.List; |
| 19 | |
Daniele Moro | 06aac70 | 2021-07-19 22:39:22 +0200 | [diff] [blame^] | 20 | import org.onosproject.core.ApplicationId; |
Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 21 | import org.onosproject.net.DeviceId; |
| 22 | import org.onosproject.net.driver.DriverData; |
| 23 | import org.onosproject.net.driver.DriverHandler; |
| 24 | import org.onosproject.net.flowobjective.FilteringObjective; |
| 25 | import org.onosproject.net.flowobjective.ForwardingObjective; |
| 26 | import org.onosproject.net.flowobjective.NextObjective; |
| 27 | |
| 28 | /** |
| 29 | * Testing adapter for pipeliner class. |
| 30 | */ |
| 31 | public 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 Moro | 06aac70 | 2021-07-19 22:39:22 +0200 | [diff] [blame^] | 53 | public void purgeAll(ApplicationId appId) { |
| 54 | |
| 55 | } |
| 56 | |
| 57 | @Override |
Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 58 | 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 Das | 2443119 | 2016-03-07 19:13:00 -0800 | [diff] [blame] | 76 | |
| 77 | @Override |
| 78 | public List<String> getNextMappings(NextGroup nextGroup) { |
| 79 | return null; |
| 80 | } |
Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 81 | } |