blob: f4fe490ff43f081e390b45ec715d5f4e9c538a3a [file] [log] [blame]
Thomas Vachuska781d18b2014-10-27 10:31:25 -07001/*
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07002 * Copyright 2014 Open Networking Laboratory
Thomas Vachuska781d18b2014-10-27 10:31:25 -07003 *
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07004 * 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
Thomas Vachuska781d18b2014-10-27 10:31:25 -07007 *
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07008 * 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.
Thomas Vachuska781d18b2014-10-27 10:31:25 -070015 */
Brian O'Connorabafb502014-12-02 22:26:20 -080016package org.onosproject.openflow.controller;
tom7ef8ff92014-09-17 13:08:06 -070017
18import org.projectfloodlight.openflow.protocol.OFMessage;
19
20/**
21 * Test adapter for the OpenFlow controller interface.
22 */
23public class OpenflowControllerAdapter implements OpenFlowController {
24 @Override
25 public Iterable<OpenFlowSwitch> getSwitches() {
26 return null;
27 }
28
29 @Override
30 public Iterable<OpenFlowSwitch> getMasterSwitches() {
31 return null;
32 }
33
34 @Override
35 public Iterable<OpenFlowSwitch> getEqualSwitches() {
36 return null;
37 }
38
39 @Override
40 public OpenFlowSwitch getSwitch(Dpid dpid) {
41 return null;
42 }
43
44 @Override
45 public OpenFlowSwitch getMasterSwitch(Dpid dpid) {
46 return null;
47 }
48
49 @Override
50 public OpenFlowSwitch getEqualSwitch(Dpid dpid) {
51 return null;
52 }
53
54 @Override
55 public void addListener(OpenFlowSwitchListener listener) {
56 }
57
58 @Override
59 public void removeListener(OpenFlowSwitchListener listener) {
60 }
61
62 @Override
63 public void addPacketListener(int priority, PacketListener listener) {
64 }
65
66 @Override
67 public void removePacketListener(PacketListener listener) {
68 }
69
70 @Override
71 public void write(Dpid dpid, OFMessage msg) {
72 }
73
74 @Override
75 public void processPacket(Dpid dpid, OFMessage msg) {
76 }
77
78 @Override
79 public void setRole(Dpid dpid, RoleState role) {
80 }
alshabibeec3a062014-09-17 18:01:26 -070081
82 @Override
83 public void addEventListener(OpenFlowEventListener listener) {
alshabibeec3a062014-09-17 18:01:26 -070084 }
85
86 @Override
87 public void removeEventListener(OpenFlowEventListener listener) {
alshabibeec3a062014-09-17 18:01:26 -070088 }
tom7ef8ff92014-09-17 13:08:06 -070089}