Package org.opennms.netmgt.enlinkd
Class EnhancedLinkd
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractServiceDaemon
-
- org.opennms.netmgt.enlinkd.EnhancedLinkd
-
- All Implemented Interfaces:
Fiber
,PausableFiber
,SpringServiceDaemon
,ReloadableTopologyDaemon
,ServiceDaemon
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class EnhancedLinkd extends AbstractServiceDaemon implements ReloadableTopologyDaemon
Linkd class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
-
Fields inherited from interface org.opennms.core.fiber.Fiber
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
-
Fields inherited from interface org.opennms.core.fiber.PausableFiber
PAUSE_PENDING, PAUSED, RESUME_PENDING
-
-
Constructor Summary
Constructors Constructor Description EnhancedLinkd()
Constructor for EnhancedLinkd.
-
Method Summary
-
Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon
afterPropertiesSet, destroy, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus
-
-
-
-
Method Detail
-
onInit
protected void onInit()
onInit
- Specified by:
onInit
in classAbstractServiceDaemon
-
unscheduleAndUnregisterOnmsTopologyUpdater
public void unscheduleAndUnregisterOnmsTopologyUpdater(TopologyUpdater onmsTopologyUpdater)
-
scheduleAndRegisterOnmsTopologyUpdater
public void scheduleAndRegisterOnmsTopologyUpdater(TopologyUpdater onmsTopologyUpdater)
-
unscheduleDiscoveryBridgeDomain
public void unscheduleDiscoveryBridgeDomain()
-
scheduleDiscoveryBridgeDomain
public void scheduleDiscoveryBridgeDomain()
-
onStart
protected void onStart()
onStart
- Overrides:
onStart
in classAbstractServiceDaemon
-
onStop
protected void onStop()
onStop
- Overrides:
onStop
in classAbstractServiceDaemon
-
onPause
protected void onPause()
onPause
- Overrides:
onPause
in classAbstractServiceDaemon
-
onResume
protected void onResume()
onResume
- Overrides:
onResume
in classAbstractServiceDaemon
-
scheduleNodeCollection
public boolean scheduleNodeCollection(int nodeid)
-
runSingleSnmpCollection
public boolean runSingleSnmpCollection(int nodeId)
-
runDiscoveryBridgeDomains
public void runDiscoveryBridgeDomains()
-
forceTopologyUpdaterRun
public void forceTopologyUpdaterRun(ProtocolSupported proto)
-
runTopologyUpdater
public void runTopologyUpdater(ProtocolSupported proto)
-
getDiscoveryBridgeDomains
public DiscoveryBridgeDomains getDiscoveryBridgeDomains()
-
addNode
public void addNode(int intValue)
-
getQueryManager
public NodeTopologyService getQueryManager()
-
setQueryManager
public void setQueryManager(NodeTopologyService queryMgr)
setQueryManager
- Parameters:
queryMgr
- aorg.opennms.features.NodeTopologyService.persistence.api.linkd.EnhancedLinkdService
object.
-
getScheduler
public LegacyScheduler getScheduler()
getScheduler
- Returns:
- a
org.opennms.netmgt.enlinkd.scheduler.Scheduler
object.
-
setScheduler
public void setScheduler(LegacyScheduler scheduler)
setScheduler
- Parameters:
scheduler
- aorg.opennms.netmgt.enlinkd.scheduler.Scheduler
object.
-
getLinkdConfig
public EnhancedLinkdConfig getLinkdConfig()
getLinkdConfig
- Returns:
- a
org.opennms.netmgt.config.LinkdConfig
object.
-
setLinkdConfig
public void setLinkdConfig(EnhancedLinkdConfig config)
setLinkdConfig
- Parameters:
config
- aorg.opennms.netmgt.config.LinkdConfig
object.
-
getSource
public java.lang.String getSource()
-
getLocationAwareSnmpClient
public LocationAwareSnmpClient getLocationAwareSnmpClient()
-
getBridgeTopologyService
public BridgeTopologyService getBridgeTopologyService()
-
setBridgeTopologyService
public void setBridgeTopologyService(BridgeTopologyService bridgeTopologyService)
-
getCdpTopologyService
public CdpTopologyService getCdpTopologyService()
-
setCdpTopologyService
public void setCdpTopologyService(CdpTopologyService cdpTopologyService)
-
getIsisTopologyService
public IsisTopologyService getIsisTopologyService()
-
setIsisTopologyService
public void setIsisTopologyService(IsisTopologyService isisTopologyService)
-
getLldpTopologyService
public LldpTopologyService getLldpTopologyService()
-
setLldpTopologyService
public void setLldpTopologyService(LldpTopologyService lldpTopologyService)
-
getOspfTopologyService
public OspfTopologyService getOspfTopologyService()
-
setOspfTopologyService
public void setOspfTopologyService(OspfTopologyService ospfTopologyService)
-
getIpNetToMediaTopologyService
public IpNetToMediaTopologyService getIpNetToMediaTopologyService()
-
setIpNetToMediaTopologyService
public void setIpNetToMediaTopologyService(IpNetToMediaTopologyService ipNetToMediaTopologyService)
-
getNodesTopologyUpdater
public NodesOnmsTopologyUpdater getNodesTopologyUpdater()
-
getCdpTopologyUpdater
public CdpOnmsTopologyUpdater getCdpTopologyUpdater()
-
getLldpTopologyUpdater
public LldpOnmsTopologyUpdater getLldpTopologyUpdater()
-
getIsisTopologyUpdater
public IsisOnmsTopologyUpdater getIsisTopologyUpdater()
-
getBridgeTopologyUpdater
public BridgeOnmsTopologyUpdater getBridgeTopologyUpdater()
-
getOspfTopologyUpdater
public OspfOnmsTopologyUpdater getOspfTopologyUpdater()
-
reload
public void reload()
-
reloadConfig
public void reloadConfig()
-
reloadTopology
public void reloadTopology()
Description copied from interface:ReloadableTopologyDaemon
Triggers a reload of the topology in case the topology has been updated without going through theOnmsTopologyDao
.- Specified by:
reloadTopology
in interfaceReloadableTopologyDaemon
-
-