@Singleton public final class AlivenessMonitorUtils extends Object
Constructor and Description |
---|
AlivenessMonitorUtils(AlivenessMonitorService alivenessMonitor,
org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
Modifier and Type | Method and Description |
---|---|
long |
allocateProfile(long failureThreshold,
long monitoringInterval,
long monitoringWindow,
MonitorProtocolType protoType) |
long |
createMonitorProfile(MonitorProfileCreateInput monitorProfileCreateInput) |
static String |
getInterfaceFromMonitorId(TypedReadTransaction<Datastore.Operational> tx,
Long monitorId) |
void |
handleTunnelMonitorUpdates(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceOld,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceNew) |
static boolean |
lldpMonitoringEnabled(IfTunnel ifTunnel) |
void |
startLLDPMonitoring(IfTunnel ifTunnel,
String trunkInterfaceName) |
void |
stopLLDPMonitoring(IfTunnel ifTunnel,
String trunkInterface) |
@Inject public AlivenessMonitorUtils(AlivenessMonitorService alivenessMonitor, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
public static String getInterfaceFromMonitorId(TypedReadTransaction<Datastore.Operational> tx, Long monitorId) throws ExecutionException, InterruptedException
public void handleTunnelMonitorUpdates(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceOld, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceNew)
public long createMonitorProfile(MonitorProfileCreateInput monitorProfileCreateInput)
public long allocateProfile(long failureThreshold, long monitoringInterval, long monitoringWindow, MonitorProtocolType protoType)
public static boolean lldpMonitoringEnabled(IfTunnel ifTunnel)
Copyright © 2019 OpenDaylight. All rights reserved.