blob: e1a89fa3b9ad55d797184b8f803bc2786fa287df [file] [log] [blame]
Jian Li3e70d8a2018-03-28 13:56:41 +09001/*
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 */
16package org.onosproject.openstacknetworking.impl;
17
18import org.onosproject.core.ApplicationId;
19import org.onosproject.net.DeviceId;
20import org.onosproject.net.flow.TrafficSelector;
21import org.onosproject.net.flow.TrafficTreatment;
22import org.onosproject.openstacknetworking.api.OpenstackFlowRuleService;
23
24/**
25 * Test adapter for OpenstackFlowRuleService.
26 */
27public 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}