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, java.util.Date now) throws BridgeTopologyException
- Specified by:
store
in interfaceBridgeTopologyService
- Throws:
BridgeTopologyException
-
saveBridgeMacLink
@Transactional protected void saveBridgeMacLink(BridgeMacLink saveMe)
-
saveBridgeBridgeLink
@Transactional protected void saveBridgeBridgeLink(BridgeBridgeLink saveMe)
-
load
public void load()
- Specified by:
load
in interfaceBridgeTopologyService
-
delete
public void delete(int nodeid) throws BridgeTopologyException
- Specified by:
delete
in interfaceBridgeTopologyService
- Throws:
BridgeTopologyException
-
getBroadcastDomain
public BroadcastDomain getBroadcastDomain(int nodeId)
- Specified by:
getBroadcastDomain
in interfaceBridgeTopologyService
-
reconcile
public BroadcastDomain reconcile(BroadcastDomain domain, int nodeId) throws BridgeTopologyException
- Specified by:
reconcile
in interfaceBridgeTopologyService
- Throws:
BridgeTopologyException
-
cleanBroadcastDomains
public void cleanBroadcastDomains()
-
updateBridgeOnDomain
public void updateBridgeOnDomain(BroadcastDomain domain, java.lang.Integer nodeId)
- Specified by:
updateBridgeOnDomain
in interfaceBridgeTopologyService
-
getBridgeElements
public java.util.List<BridgeElement> getBridgeElements(java.util.Set<java.lang.Integer> nodes)
-
store
public void store(int nodeId, BridgeElement bridge)
- Specified by:
store
in interfaceBridgeTopologyService
-
saveBridgeElement
@Transactional protected void saveBridgeElement(int nodeId, BridgeElement saveMe)
-
store
public void store(int nodeId, BridgeStpLink link)
- Specified by:
store
in interfaceBridgeTopologyService
-
saveBridgeStpLink
@Transactional protected void saveBridgeStpLink(int nodeId, BridgeStpLink saveMe)
-
store
public void store(int nodeId, java.util.List<BridgeForwardingTableEntry> bft)
- Specified by:
store
in interfaceBridgeTopologyService
-
getUpdateBftMap
public java.util.Map<java.lang.Integer,java.util.Set<BridgeForwardingTableEntry>> getUpdateBftMap()
- Specified by:
getUpdateBftMap
in interfaceBridgeTopologyService
-
reconcile
public void reconcile(int nodeId, java.util.Date now)
- Specified by:
reconcile
in interfaceBridgeTopologyService
-
findAll
public java.util.Set<BroadcastDomain> findAll()
- Specified by:
findAll
in interfaceBridgeTopologyService
-
add
public void add(BroadcastDomain domain)
- Specified by:
add
in interfaceBridgeTopologyService
-
useBridgeTopologyUpdateBFT
public java.util.Set<BridgeForwardingTableEntry> useBridgeTopologyUpdateBFT(int nodeid)
- Specified by:
useBridgeTopologyUpdateBFT
in interfaceBridgeTopologyService
-
getSharedSegments
public java.util.List<SharedSegment> getSharedSegments(int nodeid)
- Specified by:
getSharedSegments
in interfaceBridgeTopologyService
-
getSharedSegment
public SharedSegment getSharedSegment(java.lang.String mac)
- Specified by:
getSharedSegment
in interfaceBridgeTopologyService
-
getAllPersisted
public java.util.Set<BroadcastDomain> getAllPersisted()
-
collectBft
public boolean collectBft(int nodeid, int maxsize)
- Specified by:
collectBft
in interfaceBridgeTopologyService
-
collectedBft
public void collectedBft(int nodeid)
- Specified by:
collectedBft
in interfaceBridgeTopologyService
-
getBridgeStpLinkDao
public BridgeStpLinkDao getBridgeStpLinkDao()
-
setBridgeStpLinkDao
public void setBridgeStpLinkDao(BridgeStpLinkDao bridgeStpLinkDao)
-
getMacPorts
public java.util.List<MacPort> getMacPorts()
- Specified by:
getMacPorts
in interfaceBridgeTopologyService
-
match
public java.util.List<TopologyShared> match()
- Specified by:
match
in interfaceBridgeTopologyService
-
getIpNetToMediaDao
public IpNetToMediaDao getIpNetToMediaDao()
-
setIpNetToMediaDao
public void setIpNetToMediaDao(IpNetToMediaDao ipNetToMediaDao)
-
-