Class AlivenessMonitorUtils
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.iplearn.AlivenessMonitorUtils
-
@Singleton public final class AlivenessMonitorUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlivenessMonitorUtils(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, VpnUtil vpnUtil, INeutronVpnManager neutronvpnService, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.AlivenessMonitorService alivenessManager, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, VpnConfig vpnConfig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32>
allocateArpMonitorProfile()
java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32>
allocateIpv6NaMonitorProfile()
java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32>
allocateProfile(long failureThreshold, long monitoringInterval, long monitoringWindow, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.MonitorProtocolType protocolType)
java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32>
createMonitorProfile(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.MonitorProfileCreateInput monitorProfileCreateInput)
static MacEntry
getMacEntryFromMonitorId(java.lang.Long monitorId)
java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32>
getMonitorIdFromInterface(MacEntry macEntry)
-
-
-
Constructor Detail
-
AlivenessMonitorUtils
@Inject public AlivenessMonitorUtils(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, VpnUtil vpnUtil, INeutronVpnManager neutronvpnService, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.AlivenessMonitorService alivenessManager, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, VpnConfig vpnConfig)
-
-
Method Detail
-
allocateArpMonitorProfile
public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> allocateArpMonitorProfile()
-
allocateIpv6NaMonitorProfile
public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> allocateIpv6NaMonitorProfile()
-
allocateProfile
public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> allocateProfile(long failureThreshold, long monitoringInterval, long monitoringWindow, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.MonitorProtocolType protocolType)
-
createMonitorProfile
public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> createMonitorProfile(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.MonitorProfileCreateInput monitorProfileCreateInput)
-
getMacEntryFromMonitorId
public static MacEntry getMacEntryFromMonitorId(java.lang.Long monitorId)
-
getMonitorIdFromInterface
public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> getMonitorIdFromInterface(MacEntry macEntry)
-
-