Class BridgeTopologyServiceImpl
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.service.impl.TopologyServiceImpl
-
- org.opennms.netmgt.enlinkd.service.impl.BridgeTopologyServiceImpl
-
- All Implemented Interfaces:
BridgeTopologyService,TopologyService
public class BridgeTopologyServiceImpl extends TopologyServiceImpl implements BridgeTopologyService
-
-
Constructor Summary
Constructors Constructor Description BridgeTopologyServiceImpl()
-
Method Summary
-
Methods inherited from class org.opennms.netmgt.enlinkd.service.impl.TopologyServiceImpl
getTopologyEntityCache, hasUpdates, parseUpdates, refresh, setTopologyEntityCache, updatesAvailable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.enlinkd.service.api.TopologyService
hasUpdates, parseUpdates, refresh, updatesAvailable
-
-
-
-
Method Detail
-
getBridgeElementDao
public BridgeElementDao getBridgeElementDao()
-
setBridgeElementDao
public void setBridgeElementDao(BridgeElementDao bridgeElementDao)
-
getBridgeBridgeLinkDao
public BridgeBridgeLinkDao getBridgeBridgeLinkDao()
-
setBridgeBridgeLinkDao
public void setBridgeBridgeLinkDao(BridgeBridgeLinkDao bridgeBridgeLinkDao)
-
getBridgeMacLinkDao
public BridgeMacLinkDao getBridgeMacLinkDao()
-
setBridgeMacLinkDao
public void setBridgeMacLinkDao(BridgeMacLinkDao bridgeMacLinkDao)
-
store
public void store(BroadcastDomain domain, Date now) throws BridgeTopologyException
- Specified by:
storein interfaceBridgeTopologyService- Throws:
BridgeTopologyException
-
saveBridgeMacLink
@Transactional protected void saveBridgeMacLink(BridgeMacLink saveMe)
-
saveBridgeBridgeLink
@Transactional protected void saveBridgeBridgeLink(BridgeBridgeLink saveMe)
-
load
public void load()
- Specified by:
loadin interfaceBridgeTopologyService
-
delete
public void delete(int nodeid) throws BridgeTopologyException- Specified by:
deletein interfaceBridgeTopologyService- Throws:
BridgeTopologyException
-
getBroadcastDomain
public BroadcastDomain getBroadcastDomain(int nodeId)
- Specified by:
getBroadcastDomainin interfaceBridgeTopologyService
-
reconcile
public BroadcastDomain reconcile(BroadcastDomain domain, int nodeId) throws BridgeTopologyException
- Specified by:
reconcilein interfaceBridgeTopologyService- Throws:
BridgeTopologyException
-
cleanBroadcastDomains
public void cleanBroadcastDomains()
-
updateBridgeOnDomain
public void updateBridgeOnDomain(BroadcastDomain domain, Integer nodeId)
- Specified by:
updateBridgeOnDomainin interfaceBridgeTopologyService
-
getBridgeElements
public List<BridgeElement> getBridgeElements(Set<Integer> nodes)
-
store
public void store(int nodeId, BridgeElement bridge)- Specified by:
storein interfaceBridgeTopologyService
-
saveBridgeElement
@Transactional protected void saveBridgeElement(int nodeId, BridgeElement saveMe)
-
store
public void store(int nodeId, BridgeStpLink link)- Specified by:
storein interfaceBridgeTopologyService
-
saveBridgeStpLink
@Transactional protected void saveBridgeStpLink(int nodeId, BridgeStpLink saveMe)
-
store
public void store(int nodeId, List<BridgeForwardingTableEntry> bft)- Specified by:
storein interfaceBridgeTopologyService
-
getUpdateBftMap
public Map<Integer,Set<BridgeForwardingTableEntry>> getUpdateBftMap()
- Specified by:
getUpdateBftMapin interfaceBridgeTopologyService
-
reconcile
public void reconcile(int nodeId, Date now)- Specified by:
reconcilein interfaceBridgeTopologyService
-
findAll
public Set<BroadcastDomain> findAll()
- Specified by:
findAllin interfaceBridgeTopologyService
-
add
public void add(BroadcastDomain domain)
- Specified by:
addin interfaceBridgeTopologyService
-
useBridgeTopologyUpdateBFT
public Set<BridgeForwardingTableEntry> useBridgeTopologyUpdateBFT(int nodeid)
- Specified by:
useBridgeTopologyUpdateBFTin interfaceBridgeTopologyService
-
getSharedSegments
public List<SharedSegment> getSharedSegments(int nodeid)
- Specified by:
getSharedSegmentsin interfaceBridgeTopologyService
-
getSharedSegment
public SharedSegment getSharedSegment(String mac)
- Specified by:
getSharedSegmentin interfaceBridgeTopologyService
-
getAllPersisted
public Set<BroadcastDomain> getAllPersisted()
-
collectBft
public boolean collectBft(int nodeid, int maxsize)- Specified by:
collectBftin interfaceBridgeTopologyService
-
collectedBft
public void collectedBft(int nodeid)
- Specified by:
collectedBftin interfaceBridgeTopologyService
-
getBridgeStpLinkDao
public BridgeStpLinkDao getBridgeStpLinkDao()
-
setBridgeStpLinkDao
public void setBridgeStpLinkDao(BridgeStpLinkDao bridgeStpLinkDao)
-
getMacPorts
public List<MacPort> getMacPorts()
- Specified by:
getMacPortsin interfaceBridgeTopologyService
-
match
public List<TopologyShared> match()
- Specified by:
matchin interfaceBridgeTopologyService
-
getIpNetToMediaDao
public IpNetToMediaDao getIpNetToMediaDao()
-
setIpNetToMediaDao
public void setIpNetToMediaDao(IpNetToMediaDao ipNetToMediaDao)
-
-