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=0923c9345aa4f1cddb3a040277585927cd8f2a93;hb=f8491c1dd136f75d119be896e063fcd9f82d41fb;hp=95d1323bbb41411bcb95d3828f4c19576ca5586b;hpb=e01e72fc06713a0297505ca30dee5084b6c3055c;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 95d1323b..0923c934 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,13 +1,27 @@ +/* + * Copyright (c) 2015 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 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface; + +import java.math.BigInteger; import java.util.List; +import org.opendaylight.vpnservice.mdsalutil.ActionInfo; import org.opendaylight.vpnservice.mdsalutil.MatchInfo; public interface IInterfaceManager { public Long getPortForInterface(String ifName); - public long getDpnForInterface(String ifName); - public String getEndpointIpForDpn(long dpnId); + public BigInteger getDpnForInterface(String ifName); + public BigInteger getDpnForInterface(Interface intrf); + public String getEndpointIpForDpn(BigInteger dpnId); public List getInterfaceIngressRule(String ifName); + public List getInterfaceEgressActions(String ifName); } \ No newline at end of file