Constructor and Description |
---|
SharedSegment() |
public static List<BridgeBridgeLink> getBridgeBridgeLinks(SharedSegment segment) throws BridgeTopologyException
BridgeTopologyException
public static List<BridgeMacLink> getBridgeMacLinks(SharedSegment segment) throws BridgeTopologyException
BridgeTopologyException
public static SharedSegment create(BridgeMacLink link) throws BridgeTopologyException
BridgeTopologyException
public static SharedSegment create(BridgeBridgeLink link) throws BridgeTopologyException
BridgeTopologyException
public 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
BridgeTopologyException
public boolean isEmpty()
public Set<BridgePort> getBridgePortsOnSegment()
public boolean noMacsOnSegment()
public boolean containsMac(String mac)
public BridgePort getBridgePort(Integer nodeid) throws BridgeTopologyException
BridgeTopologyException
public boolean containsPort(BridgePort port)
public String printTopology()
printTopology
in interface Topology
Copyright © 2018. All rights reserved.