Class AlivenessMonitorUtils


  • @Singleton
    public final class AlivenessMonitorUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AlivenessMonitorUtils​(org.opendaylight.controller.md.sal.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
      com.google.common.base.Optional<org.opendaylight.yangtools.yang.common.Uint32> allocateArpMonitorProfile()  
      com.google.common.base.Optional<org.opendaylight.yangtools.yang.common.Uint32> allocateIpv6NaMonitorProfile()  
      com.google.common.base.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)  
      com.google.common.base.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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlivenessMonitorUtils

        @Inject
        public AlivenessMonitorUtils​(org.opendaylight.controller.md.sal.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 com.google.common.base.Optional<org.opendaylight.yangtools.yang.common.Uint32> allocateArpMonitorProfile()
      • allocateIpv6NaMonitorProfile

        public com.google.common.base.Optional<org.opendaylight.yangtools.yang.common.Uint32> allocateIpv6NaMonitorProfile()
      • allocateProfile

        public com.google.common.base.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 com.google.common.base.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)