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 java.math.BigInteger;
13 import java.util.List;
14 import org.opendaylight.vpnservice.mdsalutil.ActionInfo;
15 import org.opendaylight.vpnservice.mdsalutil.MatchInfo;
17 public interface IInterfaceManager {
19 public Long getPortForInterface(String ifName);
20 public BigInteger getDpnForInterface(String ifName);
21 public String getEndpointIpForDpn(BigInteger dpnId);
22 public List<MatchInfo> getInterfaceIngressRule(String ifName);
23 public List<ActionInfo> getInterfaceEgressActions(String ifName);