blob: e280d56e009fb98a99c90b034a6cc98a90838834 [file] [log] [blame]
Ray Milkey7ec0d1b2015-11-13 08:51:35 -08001/*
2 * Copyright 2015 Open Networking Laboratory
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.openflow;
17
18import java.util.List;
19import java.util.Set;
20
21import org.projectfloodlight.openflow.protocol.OFActionType;
22import org.projectfloodlight.openflow.protocol.OFCapabilities;
23import org.projectfloodlight.openflow.protocol.OFFeaturesReply;
24import org.projectfloodlight.openflow.protocol.OFPortDesc;
25import org.projectfloodlight.openflow.protocol.OFType;
26import org.projectfloodlight.openflow.types.DatapathId;
27import org.projectfloodlight.openflow.types.OFAuxId;
28
29/**
30 * Mock of the Open FLow features reply message.
31 */
32public class MockOfFeaturesReply extends OfMessageAdapter implements OFFeaturesReply {
33 public MockOfFeaturesReply() {
34 super(OFType.FEATURES_REPLY);
35 }
36
37 @Override
38 public DatapathId getDatapathId() {
39 return null;
40 }
41
42 @Override
43 public long getNBuffers() {
44 return 0;
45 }
46
47 @Override
48 public short getNTables() {
49 return 0;
50 }
51
52 @Override
53 public Set<OFCapabilities> getCapabilities() {
54 return null;
55 }
56
57 @Override
58 public long getReserved() {
59 return 0;
60 }
61
62 @Override
63 public List<OFPortDesc> getPorts() {
64 return null;
65 }
66
67 @Override
68 public Set<OFActionType> getActions() {
69 return null;
70 }
71
72 @Override
73 public OFAuxId getAuxiliaryId() {
74 return null;
75 }
76
77 @Override
78 public OFFeaturesReply.Builder createBuilder() {
79 return null;
80 }
81}