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, getNodeId, getPackageName, getPeer, getPollInterval, getPort, getReadCommunity, getScheduler, getSysname, getSysoid, getTarget, hashCode, isReady, isSuspended, reschedule, schedule, sendCompletedEvent, sendStartEvent, sendSuspendedEvent, setInitialSleepTime, setPackageName, setPollInterval, setScheduler, suspend, unschedule, wakeUp
public 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 Runnable
run
in class NodeDiscovery
protected void runCollection()
runCollection
in class NodeDiscovery
public String getInfo()
NodeDiscovery
getInfo
getInfo
in interface ReadyRunnable
getInfo
in class NodeDiscovery
String
object.public String getName()
getName
in class NodeDiscovery
protected void calculate()
public void clearTopologyForBridge(Bridge bridge)
public List<BridgeMacLink> getBFT(Bridge bridge)
Copyright © 2017. All rights reserved.