public class BridgeTopologyServiceImpl extends TopologyServiceImpl implements BridgeTopologyService
Constructor and Description |
---|
BridgeTopologyServiceImpl() |
getTopologyEntityCache, hasUpdates, parseUpdates, refresh, setTopologyEntityCache, updatesAvailable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasUpdates, parseUpdates, refresh, updatesAvailable
public 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 BridgeTopologyService
BridgeTopologyException
@Transactional protected void saveBridgeMacLink(BridgeMacLink saveMe)
@Transactional protected void saveBridgeBridgeLink(BridgeBridgeLink saveMe)
public void load()
load
in interface BridgeTopologyService
public void delete(int nodeid) throws BridgeTopologyException
delete
in interface BridgeTopologyService
BridgeTopologyException
public BroadcastDomain getBroadcastDomain(int nodeId)
getBroadcastDomain
in interface BridgeTopologyService
public BroadcastDomain reconcile(BroadcastDomain domain, int nodeId) throws BridgeTopologyException
reconcile
in interface BridgeTopologyService
BridgeTopologyException
public void cleanBroadcastDomains()
public void updateBridgeOnDomain(BroadcastDomain domain, Integer nodeId)
updateBridgeOnDomain
in interface BridgeTopologyService
public 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 BridgeTopologyService
public Map<Integer,Set<BridgeForwardingTableEntry>> getUpdateBftMap()
getUpdateBftMap
in interface BridgeTopologyService
public void reconcile(int nodeId, Date now)
reconcile
in interface BridgeTopologyService
public Set<BroadcastDomain> findAll()
findAll
in interface BridgeTopologyService
public void add(BroadcastDomain domain)
add
in interface BridgeTopologyService
public Set<BridgeForwardingTableEntry> useBridgeTopologyUpdateBFT(int nodeid)
useBridgeTopologyUpdateBFT
in interface BridgeTopologyService
public List<SharedSegment> getSharedSegments(int nodeid)
getSharedSegments
in interface BridgeTopologyService
public SharedSegment getSharedSegment(String mac)
getSharedSegment
in interface BridgeTopologyService
public Set<BroadcastDomain> getAllPersisted()
public boolean collectBft(int nodeid, int maxsize)
collectBft
in interface BridgeTopologyService
public void collectedBft(int nodeid)
collectedBft
in interface BridgeTopologyService
public BridgeStpLinkDao getBridgeStpLinkDao()
public void setBridgeStpLinkDao(BridgeStpLinkDao bridgeStpLinkDao)
public List<MacPort> getMacPorts()
getMacPorts
in interface BridgeTopologyService
public List<TopologyShared> match()
match
in interface BridgeTopologyService
public IpNetToMediaDao getIpNetToMediaDao()
public void setIpNetToMediaDao(IpNetToMediaDao ipNetToMediaDao)
Copyright © 2021. All rights reserved.