| Constructor and Description |
|---|
SharedSegment() |
public static List<BridgeBridgeLink> getBridgeBridgeLinks(SharedSegment segment) throws BridgeTopologyException
BridgeTopologyExceptionpublic static List<BridgeMacLink> getBridgeMacLinks(SharedSegment segment) throws BridgeTopologyException
BridgeTopologyExceptionpublic static SharedSegment create(BridgeMacLink link) throws BridgeTopologyException
BridgeTopologyExceptionpublic static SharedSegment create(BridgeBridgeLink link) throws BridgeTopologyException
BridgeTopologyExceptionpublic static void merge(BroadcastDomain domain, SharedSegment upsegment, Map<BridgePortWithMacs,Set<BridgePortWithMacs>> splitted, Set<String> macsonsegment, BridgePort rootport, Set<BridgePortWithMacs> throughset)
public static SharedSegment createAndAddToBroadcastDomain(BroadcastDomain domain, BridgePortWithMacs bft)
public static SharedSegment create()
public boolean setDesignatedBridge(Integer designatedBridge)
public Integer getDesignatedBridge()
public BridgePort getDesignatedPort() throws BridgeTopologyException
BridgeTopologyExceptionpublic boolean isEmpty()
public Set<BridgePort> getBridgePortsOnSegment()
public boolean noMacsOnSegment()
public boolean containsMac(String mac)
public BridgePort getBridgePort(Integer nodeid) throws BridgeTopologyException
BridgeTopologyExceptionpublic boolean containsPort(BridgePort port)
public String printTopology()
printTopology in interface TopologyCopyright © 2018. All rights reserved.