public abstract class AbstractCountersService extends Object
Modifier and Type | Field and Description |
---|---|
protected org.opendaylight.controller.md.sal.binding.api.DataBroker |
db |
protected org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager |
interfaceManager |
protected org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager |
mdsalManager |
Constructor and Description |
---|
AbstractCountersService(org.opendaylight.controller.md.sal.binding.api.DataBroker db,
org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager,
org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager) |
Modifier and Type | Method and Description |
---|---|
abstract void |
bind(String interfaceId) |
void |
bindService(String interfaceId) |
void |
deleteCounterRules(ElementCountersRequest ecr) |
void |
installCounterRules(ElementCountersRequest ecr) |
abstract void |
installDefaultCounterRules(String interfaceId) |
abstract void |
syncCounterFlows(ElementCountersRequest ecr,
int operation) |
protected void |
syncFlow(BigInteger dpId,
short tableId,
String flowId,
int priority,
String flowName,
int idleTimeOut,
int hardTimeOut,
BigInteger cookie,
List<? extends org.opendaylight.genius.mdsalutil.MatchInfoBase> matches,
List<org.opendaylight.genius.mdsalutil.InstructionInfo> instructions,
int operation) |
abstract void |
unBindService(String interfaceId) |
protected final org.opendaylight.controller.md.sal.binding.api.DataBroker db
protected final org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager
protected final org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager
public AbstractCountersService(org.opendaylight.controller.md.sal.binding.api.DataBroker db, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager)
public abstract void bind(String interfaceId)
public abstract void unBindService(String interfaceId)
public abstract void installDefaultCounterRules(String interfaceId)
public abstract void syncCounterFlows(ElementCountersRequest ecr, int operation)
public void bindService(String interfaceId)
public void installCounterRules(ElementCountersRequest ecr)
public void deleteCounterRules(ElementCountersRequest ecr)
protected void syncFlow(BigInteger dpId, short tableId, String flowId, int priority, String flowName, int idleTimeOut, int hardTimeOut, BigInteger cookie, List<? extends org.opendaylight.genius.mdsalutil.MatchInfoBase> matches, List<org.opendaylight.genius.mdsalutil.InstructionInfo> instructions, int operation)
Copyright © 2018 OpenDaylight. All rights reserved.