public class NodeDiscoveryBridgeTopology extends NodeDiscovery
m_linkd, m_node| Constructor and Description |
|---|
NodeDiscoveryBridgeTopology(EnhancedLinkd linkd,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdatedBFT(Bridge bridge,
List<BridgeMacLink> notYetParsedBFTMap) |
protected void |
calculate() |
void |
clearTopologyForBridge(Bridge bridge) |
List<BridgeMacLink> |
getBFT(Bridge bridge) |
List<BridgeElement> |
getBridgeelements() |
BroadcastDomain |
getDomain() |
String |
getInfo()
getInfo
|
String |
getName() |
Map<Bridge,List<BridgeMacLink>> |
getNotYetParsedBFTMap() |
List<BridgeMacLink> |
getRootBridgeBFT() |
void |
run()
Performs the collection for the targeted IP address.
|
protected void |
runCollection() |
void |
setBridgeElements(List<BridgeElement> bridgeelements) |
void |
setDomain(BroadcastDomain domain) |
void |
setRootBridgeBFT(List<BridgeMacLink> rootBridgeBFT) |
equals, getInitialSleepTime, getLocation, getNodeId, getPackageName, getPeer, getPollInterval, getPort, getReadCommunity, getScheduler, getSysname, getSysoid, getTarget, hashCode, isReady, isSuspended, reschedule, schedule, sendCompletedEvent, sendStartEvent, sendSuspendedEvent, setInitialSleepTime, setPackageName, setPollInterval, setScheduler, suspend, unschedule, wakeUppublic NodeDiscoveryBridgeTopology(EnhancedLinkd linkd, Node node)
public List<BridgeElement> getBridgeelements()
public void setBridgeElements(List<BridgeElement> bridgeelements)
public List<BridgeMacLink> getRootBridgeBFT()
public void setRootBridgeBFT(List<BridgeMacLink> rootBridgeBFT)
public BroadcastDomain getDomain()
public void setDomain(BroadcastDomain domain)
public Map<Bridge,List<BridgeMacLink>> getNotYetParsedBFTMap()
public void addUpdatedBFT(Bridge bridge, List<BridgeMacLink> notYetParsedBFTMap)
public void run()
NodeDiscovery
Performs the collection for the targeted IP address. The success or
failure of the collection should be tested via the failed
method.
No synchronization is performed, so if this is used in a separate thread context synchronization must be added.
run in interface Runnablerun in class NodeDiscoveryprotected void runCollection()
runCollection in class NodeDiscoverypublic String getInfo()
NodeDiscoverygetInfo
getInfo in interface ReadyRunnablegetInfo in class NodeDiscoveryString object.public String getName()
getName in class NodeDiscoveryprotected void calculate()
public void clearTopologyForBridge(Bridge bridge)
public List<BridgeMacLink> getBFT(Bridge bridge)
Copyright © 2017. All rights reserved.