a0a26d66c99ad18762d1decd29e495a078f31f9c
[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.math.BigInteger;
12
13 import java.util.List;
14 import org.opendaylight.vpnservice.mdsalutil.ActionInfo;
15 import org.opendaylight.vpnservice.mdsalutil.MatchInfo;
16
17 public interface IInterfaceManager {
18
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);
24
25 }