blob: 4f7de358951701a88d93cf080302c7560febc2b0 [file] [log] [blame]
Ray Milkeyc3aceff2016-11-18 12:58:23 -08001/*
2 * Copyright 2016-present 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 */
Luca Prete092e8952016-10-26 16:25:56 +020016package org.onosproject.vpls;
17
18import com.google.common.collect.SetMultimap;
19import org.onlab.packet.VlanId;
20import org.onosproject.incubator.net.intf.Interface;
21import org.onosproject.net.ConnectPoint;
22import org.onosproject.net.EncapsulationType;
23import org.onosproject.vpls.config.VplsConfigurationService;
24
25import java.util.Map;
26import java.util.Set;
27
28/**
29 * Test adapter for VPLS configuration service.
30 */
31public class VplsConfigurationServiceAdapter implements VplsConfigurationService {
32 @Override
33 public void addVpls(String vplsName, Set<String> ifaces, String encap) {}
34
35 @Override
36 public void removeVpls(String vplsName) {}
37
38 @Override
39 public void addIface(String vplsName, String iface) {}
40
41 @Override
42 public void setEncap(String vplsName, String encap) {}
43
44 @Override
45 public EncapsulationType encap(String vplsName) {
46 return null;
47 }
48
49 @Override
50 public void removeIface(String iface) {}
51
52 @Override
53 public void cleanVplsConfig() {}
54
55 @Override
56 public Set<String> vplsAffectedByApi() {
57 return null;
58 }
59
60 @Override
61 public Set<Interface> allIfaces() {
62 return null;
63 }
64
65 @Override
66 public Set<Interface> ifaces(String vplsName) {
67 return null;
68 }
69
70 @Override
71 public Set<String> vplsNames() {
72 return null;
73 }
74
75 @Override
76 public Set<String> vplsNamesOld() {
77 return null;
78 }
79
80 @Override
81 public SetMultimap<String, Interface> ifacesByVplsName() {
82 return null;
83 }
84
85 @Override
86 public SetMultimap<String, Interface> ifacesByVplsName(VlanId vlan, ConnectPoint connectPoint) {
87 return null;
88 }
89
90 @Override
91 public Map<String, EncapsulationType> encapByVplsName() {
92 return null;
93 }
94}