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, Set<BridgeForwardingTableEntry> entries)
Set<String>
getBftMacs()
int
getBftSize()
Bridge
getBridge()
BridgePortWithMacs
getBridgePortWithMacs(BridgePort port)
Map<String,Set<BridgePort>>
getDuplicated()
Set<BridgeForwardingTableEntry>
getEntries()
Set<String>
getIdentifiers()
Map<String,BridgePort>
getMactoport()
Integer
getNodeId()
BridgePort
getPort(Integer bp)
Set<BridgePortWithMacs>
getPorttomac()
Integer
getRootBridgePort()
BridgePort
getRootPort()
static Set<BridgePortWithMacs>
getThroughSet(BridgeForwardingTable bridgeFt, Set<BridgePort> excluded)
String
printTopology()
void
setDuplicated(Map<String,Set<BridgePort>> duplicated)
void
setMactoport(Map<String,BridgePort> mactoport)
void
setRootPort(Integer rootPort)
-
-
-
Method Detail
-
getThroughSet
public static Set<BridgePortWithMacs> getThroughSet(BridgeForwardingTable bridgeFt, Set<BridgePort> excluded) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
create
public static BridgeForwardingTable create(Bridge bridge, Set<BridgeForwardingTableEntry> entries) throws BridgeTopologyException
- Throws:
BridgeTopologyException
-
getPorttomac
public Set<BridgePortWithMacs> getPorttomac()
-
getBridgePortWithMacs
public BridgePortWithMacs getBridgePortWithMacs(BridgePort port)
-
getMactoport
public Map<String,BridgePort> getMactoport()
-
setMactoport
public void setMactoport(Map<String,BridgePort> mactoport)
-
getDuplicated
public Map<String,Set<BridgePort>> getDuplicated()
-
setDuplicated
public void setDuplicated(Map<String,Set<BridgePort>> duplicated)
-
getEntries
public Set<BridgeForwardingTableEntry> getEntries()
-
getBftSize
public int getBftSize()
-
getNodeId
public Integer getNodeId()
-
getBridge
public Bridge getBridge()
-
getRootBridgePort
public Integer getRootBridgePort()
-
getRootPort
public BridgePort getRootPort()
-
getPort
public BridgePort getPort(Integer bp)
-
setRootPort
public void setRootPort(Integer rootPort)
-
printTopology
public String printTopology()
- Specified by:
printTopology
in interfaceTopology
-
-