2 * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.vpnservice.interfacemgr.interfaces;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface;
13 import java.math.BigInteger;
14 import java.util.List;
15 import org.opendaylight.vpnservice.mdsalutil.ActionInfo;
16 import org.opendaylight.vpnservice.mdsalutil.MatchInfo;
19 public interface IInterfaceManager {
21 public Long getPortForInterface(String ifName);
24 public BigInteger getDpnForInterface(String ifName);
27 public BigInteger getDpnForInterface(Interface intrf);
30 public String getEndpointIpForDpn(BigInteger dpnId);
33 public List<ActionInfo> getInterfaceEgressActions(String ifName);
36 public Long getPortForInterface(Interface intf);