Class BridgeSimpleConnection
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.service.api.BridgeSimpleConnection
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BridgePort
conditionA(BridgeForwardingTable bridge2Ft)
static BridgePort
conditionB(Set<String> commonlearnedmacs, BridgeForwardingTable bridge2Ft)
static BridgeSimpleConnection
createAndRun(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge)
Integer
getFirstBridgePort()
BridgePort
getFirstPort()
static Set<String>
getMacs(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge, BridgeSimpleConnection simple)
Integer
getSecondBridgePort()
BridgePort
getSecondPort()
String
printTopology()
-
-
-
Method Detail
-
getMacs
public static Set<String> getMacs(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge, BridgeSimpleConnection simple) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
getFirstPort
public BridgePort getFirstPort()
-
getSecondPort
public BridgePort getSecondPort()
-
getFirstBridgePort
public Integer getFirstBridgePort()
-
getSecondBridgePort
public Integer getSecondBridgePort()
-
conditionA
public static BridgePort conditionA(BridgeForwardingTable bridge2Ft) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
conditionB
public static BridgePort conditionB(Set<String> commonlearnedmacs, BridgeForwardingTable bridge2Ft) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
createAndRun
public static BridgeSimpleConnection createAndRun(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
printTopology
public String printTopology()
- Specified by:
printTopology
in interfaceTopology
-
-