Class BridgeForwardingTable
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.service.api.BridgeForwardingTable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BridgeForwardingTable
create(Bridge bridge, java.util.Set<BridgeForwardingTableEntry> entries)
java.util.Set<java.lang.String>
getBftMacs()
int
getBftSize()
Bridge
getBridge()
BridgePortWithMacs
getBridgePortWithMacs(BridgePort port)
java.util.Map<java.lang.String,java.util.Set<BridgePort>>
getDuplicated()
java.util.Set<BridgeForwardingTableEntry>
getEntries()
java.util.Set<java.lang.String>
getIdentifiers()
java.util.Map<java.lang.String,BridgePort>
getMactoport()
java.lang.Integer
getNodeId()
BridgePort
getPort(java.lang.Integer bp)
java.util.Set<BridgePortWithMacs>
getPorttomac()
java.lang.Integer
getRootBridgePort()
BridgePort
getRootPort()
static java.util.Set<BridgePortWithMacs>
getThroughSet(BridgeForwardingTable bridgeFt, java.util.Set<BridgePort> excluded)
java.lang.String
printTopology()
void
setDuplicated(java.util.Map<java.lang.String,java.util.Set<BridgePort>> duplicated)
void
setMactoport(java.util.Map<java.lang.String,BridgePort> mactoport)
void
setRootPort(java.lang.Integer rootPort)
-
-
-
Method Detail
-
getThroughSet
public static java.util.Set<BridgePortWithMacs> getThroughSet(BridgeForwardingTable bridgeFt, java.util.Set<BridgePort> excluded) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
create
public static BridgeForwardingTable create(Bridge bridge, java.util.Set<BridgeForwardingTableEntry> entries) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
getPorttomac
public java.util.Set<BridgePortWithMacs> getPorttomac()
-
getBridgePortWithMacs
public BridgePortWithMacs getBridgePortWithMacs(BridgePort port)
-
getMactoport
public java.util.Map<java.lang.String,BridgePort> getMactoport()
-
setMactoport
public void setMactoport(java.util.Map<java.lang.String,BridgePort> mactoport)
-
getDuplicated
public java.util.Map<java.lang.String,java.util.Set<BridgePort>> getDuplicated()
-
setDuplicated
public void setDuplicated(java.util.Map<java.lang.String,java.util.Set<BridgePort>> duplicated)
-
getEntries
public java.util.Set<BridgeForwardingTableEntry> getEntries()
-
getBftSize
public int getBftSize()
-
getBftMacs
public java.util.Set<java.lang.String> getBftMacs()
-
getNodeId
public java.lang.Integer getNodeId()
-
getIdentifiers
public java.util.Set<java.lang.String> getIdentifiers()
-
getBridge
public Bridge getBridge()
-
getRootBridgePort
public java.lang.Integer getRootBridgePort()
-
getRootPort
public BridgePort getRootPort()
-
getPort
public BridgePort getPort(java.lang.Integer bp)
-
setRootPort
public void setRootPort(java.lang.Integer rootPort)
-
printTopology
public java.lang.String printTopology()
- Specified by:
printTopology
in interfaceTopology
-
-