Class AlivenessMonitorUtils


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

      • AlivenessMonitorUtils

        @Inject
        public AlivenessMonitorUtils​(AlivenessMonitorService alivenessMonitor,
                                     org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
    • Method Detail

      • startLLDPMonitoring

        public void startLLDPMonitoring​(IfTunnel ifTunnel,
                                        java.lang.String trunkInterfaceName)
      • stopLLDPMonitoring

        public void stopLLDPMonitoring​(IfTunnel ifTunnel,
                                       java.lang.String trunkInterface)
      • getInterfaceFromMonitorId

        public static java.lang.String getInterfaceFromMonitorId​(TypedReadTransaction<Datastore.Operational> tx,
                                                                 org.opendaylight.yangtools.yang.common.Uint32 monitorId)
                                                          throws java.util.concurrent.ExecutionException,
                                                                 java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • handleTunnelMonitorUpdates

        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)
      • createMonitorProfile

        public org.opendaylight.yangtools.yang.common.Uint32 createMonitorProfile​(MonitorProfileCreateInput monitorProfileCreateInput)
      • allocateProfile

        public org.opendaylight.yangtools.yang.common.Uint32 allocateProfile​(long failureThreshold,
                                                                             long monitoringInterval,
                                                                             long monitoringWindow,
                                                                             MonitorProtocolType protoType)
      • lldpMonitoringEnabled

        public static boolean lldpMonitoringEnabled​(IfTunnel ifTunnel)