interfacemgr: Add copyright wherever missing
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / java / org / opendaylight / vpnservice / interfacemgr / interfaces / IInterfaceManager.java
1 /*
2  * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.vpnservice.interfacemgr.interfaces;
10
11 import java.util.List;
12 import org.opendaylight.vpnservice.mdsalutil.ActionInfo;
13 import org.opendaylight.vpnservice.mdsalutil.MatchInfo;
14
15 public interface IInterfaceManager {
16
17     public Long getPortForInterface(String ifName);
18     public long getDpnForInterface(String ifName);
19     public String getEndpointIpForDpn(long dpnId);
20     public List<MatchInfo> getInterfaceIngressRule(String ifName);
21     public List<ActionInfo> getInterfaceEgressActions(String ifName);
22
23 }