blob: 3106e0fa4f8f7f78ae0f58db3e5fdafb50423fba [file] [log] [blame]
Phaneendra Manda0f21ad62016-02-12 19:32:13 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Phaneendra Manda0f21ad62016-02-12 19:32:13 +05303 *
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.sfc.util;
17
18import java.util.List;
19
20import org.onosproject.net.flow.instructions.ExtensionPropertyException;
21import org.onosproject.net.flow.instructions.ExtensionTreatment;
22import org.onosproject.net.flow.instructions.ExtensionTreatmentType;
23
24public class MockExtensionTreatment implements ExtensionTreatment {
25
26 @Override
27 public <T> void setPropertyValue(String key, T value) throws ExtensionPropertyException {
28 }
29
30 @Override
31 public <T> T getPropertyValue(String key) throws ExtensionPropertyException {
32 return null;
33 }
34
35 @Override
36 public List<String> getProperties() {
37 return null;
38 }
39
40 @Override
41 public byte[] serialize() {
42 return null;
43 }
44
45 @Override
46 public void deserialize(byte[] data) {
47 }
48
49 @Override
50 public ExtensionTreatmentType type() {
51 return null;
52 }
53
54}