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(java.util.Set<java.lang.String> commonlearnedmacs, BridgeForwardingTable bridge2Ft)
static BridgeSimpleConnection
createAndRun(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge)
java.lang.Integer
getFirstBridgePort()
BridgePort
getFirstPort()
static java.util.Set<java.lang.String>
getMacs(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge, BridgeSimpleConnection simple)
java.lang.Integer
getSecondBridgePort()
BridgePort
getSecondPort()
java.lang.String
printTopology()
-
-
-
Method Detail
-
getMacs
public static java.util.Set<java.lang.String> getMacs(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge, BridgeSimpleConnection simple) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
getFirstPort
public BridgePort getFirstPort()
-
getSecondPort
public BridgePort getSecondPort()
-
getFirstBridgePort
public java.lang.Integer getFirstBridgePort()
-
getSecondBridgePort
public java.lang.Integer getSecondBridgePort()
-
conditionA
public static BridgePort conditionA(BridgeForwardingTable bridge2Ft) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
conditionB
public static BridgePort conditionB(java.util.Set<java.lang.String> commonlearnedmacs, BridgeForwardingTable bridge2Ft) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
createAndRun
public static BridgeSimpleConnection createAndRun(BridgeForwardingTable xBridge, BridgeForwardingTable yBridge) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
printTopology
public java.lang.String printTopology()
- Specified by:
printTopology
in interfaceTopology
-
-