Jian Li | 3e70d8a | 2018-03-28 13:56:41 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018-present Open Networking Foundation |
| 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.openstacknetworking.impl; |
| 17 | |
| 18 | import org.onosproject.core.ApplicationId; |
| 19 | import org.onosproject.net.DeviceId; |
| 20 | import org.onosproject.net.flow.TrafficSelector; |
| 21 | import org.onosproject.net.flow.TrafficTreatment; |
| 22 | import org.onosproject.openstacknetworking.api.OpenstackFlowRuleService; |
| 23 | |
| 24 | /** |
| 25 | * Test adapter for OpenstackFlowRuleService. |
| 26 | */ |
| 27 | public class OpenstackFlowRuleServiceAdapter implements OpenstackFlowRuleService { |
| 28 | @Override |
| 29 | public void setRule(ApplicationId appId, DeviceId deviceId, TrafficSelector selector, |
| 30 | TrafficTreatment treatment, int priority, int tableType, boolean install) { |
| 31 | |
| 32 | } |
| 33 | |
| 34 | @Override |
| 35 | public void setUpTableMissEntry(DeviceId deviceId, int table) { |
| 36 | |
| 37 | } |
| 38 | |
| 39 | @Override |
| 40 | public void connectTables(DeviceId deviceId, int fromTable, int toTable) { |
| 41 | |
| 42 | } |
| 43 | } |