@@ -0,0 +1,2022 @@
+/*%0A * Copyright 2015 Open Networking Laboratory%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.onosproject.sfc.util;%0A%0Aimport java.util.Iterator;%0A%0Aimport org.onlab.packet.MacAddress;%0Aimport org.onosproject.net.Device;%0Aimport org.onosproject.net.DeviceId;%0Aimport org.onosproject.net.HostId;%0Aimport org.onosproject.vtnrsc.SegmentationId;%0Aimport org.onosproject.vtnrsc.TenantId;%0Aimport org.onosproject.vtnrsc.VirtualPortId;%0Aimport org.onosproject.vtnrsc.event.VtnRscListener;%0Aimport org.onosproject.vtnrsc.service.VtnRscService;%0A%0A/**%0A * Provides implementation of the VtnRsc service.%0A */%0Apublic class VtnRscManagerTestImpl implements VtnRscService %7B%0A    @Override%0A    public void addListener(VtnRscListener listener) %7B%0A    %7D%0A%0A    @Override%0A    public void removeListener(VtnRscListener listener) %7B%0A    %7D%0A%0A    @Override%0A    public SegmentationId getL3vni(TenantId tenantId) %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    public Iterator%3CDevice%3E getClassifierOfTenant(TenantId tenantId) %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    public Iterator%3CDevice%3E getSFFOfTenant(TenantId tenantId) %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    public MacAddress getGatewayMac(HostId hostId) %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    public boolean isServiceFunction(VirtualPortId portId) %7B%0A        // TODO Auto-generated method stub%0A        return false;%0A    %7D%0A%0A    @Override%0A    public DeviceId getSFToSFFMaping(VirtualPortId portId) %7B%0A        return DeviceId.deviceId(%22www.google.com%22);%0A    %7D%0A%7D%0A

Test stub on VtnRscManager