X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=interfacemgr%2Finterfacemgr-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fvpnservice%2Finterfacemgr%2Finterfaces%2FIInterfaceManager.java;h=a1592937142cca6bb2dcca3de9efc24e3c16e4bc;hb=9c0e16907ffb4d6c79ea397885f9dfed738dc848;hp=206e6e1170dcbde74b4a68f341757d0521689f34;hpb=f5efefc2ace32941e3da0878578ddd00abf5ab06;p=vpnservice.git diff --git a/interfacemgr/interfacemgr-api/src/main/java/org/opendaylight/vpnservice/interfacemgr/interfaces/IInterfaceManager.java b/interfacemgr/interfacemgr-api/src/main/java/org/opendaylight/vpnservice/interfacemgr/interfaces/IInterfaceManager.java index 206e6e11..a1592937 100644 --- a/interfacemgr/interfacemgr-api/src/main/java/org/opendaylight/vpnservice/interfacemgr/interfaces/IInterfaceManager.java +++ b/interfacemgr/interfacemgr-api/src/main/java/org/opendaylight/vpnservice/interfacemgr/interfaces/IInterfaceManager.java @@ -1,15 +1,53 @@ +/* + * Copyright (c) 2015 - 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + package org.opendaylight.vpnservice.interfacemgr.interfaces; +import java.math.BigInteger; import java.util.List; + +import org.opendaylight.vpnservice.interfacemgr.exceptions.InterfaceAlreadyExistsException; +import org.opendaylight.vpnservice.interfacemgr.globals.InterfaceInfo; import org.opendaylight.vpnservice.mdsalutil.ActionInfo; -import org.opendaylight.vpnservice.mdsalutil.MatchInfo; +import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface; +import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.servicebinding.rev151015.service.bindings.ServicesInfo; +import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.servicebinding.rev151015.service.bindings.services.info.BoundServices; +import org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.interfacemgr.rev150331.IfL2vlan; +@Deprecated public interface IInterfaceManager { - + @Deprecated public Long getPortForInterface(String ifName); - public long getDpnForInterface(String ifName); - public String getEndpointIpForDpn(long dpnId); - public List getInterfaceIngressRule(String ifName); + + @Deprecated + public BigInteger getDpnForInterface(String ifName); + + @Deprecated + public BigInteger getDpnForInterface(Interface intrf); + + @Deprecated + public String getEndpointIpForDpn(BigInteger dpnId); + + @Deprecated public List getInterfaceEgressActions(String ifName); + @Deprecated + public Long getPortForInterface(Interface intf); + + public InterfaceInfo getInterfaceInfo(String intInfo); + + public InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName, InterfaceInfo.InterfaceType interfaceType); + public InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName); + + public void createVLANInterface(String interfaceName, String portName, BigInteger dpId, Integer vlanId, + String description, IfL2vlan.L2vlanMode l2vlanMode); + public void bindService(String interfaceName, BoundServices serviceInfo); + public void unbindService(String interfaceName, BoundServices serviceInfo); + List getVlanInterfaces(); + List getVxlanInterfaces(); } \ No newline at end of file