public class BridgeTopologyServiceImpl extends TopologyServiceImpl implements BridgeTopologyService
| Constructor and Description |
|---|
BridgeTopologyServiceImpl() |
getTopologyEntityCache, hasUpdates, parseUpdates, refresh, setTopologyEntityCache, updatesAvailableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasUpdates, parseUpdates, refresh, updatesAvailablepublic BridgeElementDao getBridgeElementDao()
public void setBridgeElementDao(BridgeElementDao bridgeElementDao)
public BridgeBridgeLinkDao getBridgeBridgeLinkDao()
public void setBridgeBridgeLinkDao(BridgeBridgeLinkDao bridgeBridgeLinkDao)
public BridgeMacLinkDao getBridgeMacLinkDao()
public void setBridgeMacLinkDao(BridgeMacLinkDao bridgeMacLinkDao)
public void store(BroadcastDomain domain, Date now) throws BridgeTopologyException
store in interface BridgeTopologyServiceBridgeTopologyException@Transactional protected void saveBridgeMacLink(BridgeMacLink saveMe)
@Transactional protected void saveBridgeBridgeLink(BridgeBridgeLink saveMe)
public void load()
load in interface BridgeTopologyServicepublic void delete(int nodeid)
throws BridgeTopologyException
delete in interface BridgeTopologyServiceBridgeTopologyExceptionpublic BroadcastDomain getBroadcastDomain(int nodeId)
getBroadcastDomain in interface BridgeTopologyServicepublic BroadcastDomain reconcile(BroadcastDomain domain, int nodeId) throws BridgeTopologyException
reconcile in interface BridgeTopologyServiceBridgeTopologyExceptionpublic void cleanBroadcastDomains()
public void updateBridgeOnDomain(BroadcastDomain domain, Integer nodeId)
updateBridgeOnDomain in interface BridgeTopologyServicepublic List<BridgeElement> getBridgeElements(Set<Integer> nodes)
public void store(int nodeId,
BridgeElement bridge)
store in interface BridgeTopologyService@Transactional
protected void saveBridgeElement(int nodeId,
BridgeElement saveMe)
public void store(int nodeId,
BridgeStpLink link)
store in interface BridgeTopologyService@Transactional
protected void saveBridgeStpLink(int nodeId,
BridgeStpLink saveMe)
public void store(int nodeId,
List<BridgeForwardingTableEntry> bft)
store in interface BridgeTopologyServicepublic Map<Integer,Set<BridgeForwardingTableEntry>> getUpdateBftMap()
getUpdateBftMap in interface BridgeTopologyServicepublic void reconcile(int nodeId,
Date now)
reconcile in interface BridgeTopologyServicepublic Set<BroadcastDomain> findAll()
findAll in interface BridgeTopologyServicepublic void add(BroadcastDomain domain)
add in interface BridgeTopologyServicepublic Set<BridgeForwardingTableEntry> useBridgeTopologyUpdateBFT(int nodeid)
useBridgeTopologyUpdateBFT in interface BridgeTopologyServicepublic List<SharedSegment> getSharedSegments(int nodeid)
getSharedSegments in interface BridgeTopologyServicepublic SharedSegment getSharedSegment(String mac)
getSharedSegment in interface BridgeTopologyServicepublic Set<BroadcastDomain> getAllPersisted()
public boolean collectBft(int nodeid,
int maxsize)
collectBft in interface BridgeTopologyServicepublic void collectedBft(int nodeid)
collectedBft in interface BridgeTopologyServicepublic BridgeStpLinkDao getBridgeStpLinkDao()
public void setBridgeStpLinkDao(BridgeStpLinkDao bridgeStpLinkDao)
public List<MacPort> getMacPorts()
getMacPorts in interface BridgeTopologyServicepublic List<TopologyShared> match()
match in interface BridgeTopologyServicepublic IpNetToMediaDao getIpNetToMediaDao()
public void setIpNetToMediaDao(IpNetToMediaDao ipNetToMediaDao)
Copyright © 2022. All rights reserved.