Class BridgeForwardingTableEntry
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.service.api.BridgeForwardingTableEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBridgeForwardingTableEntry.BridgeDot1qTpFdbStatusdot1qTpFdbStatus OBJECT-TYPE SYNTAX INTEGER { other(1), invalid(2), learned(3), self(4), mgmt(5) } MAX-ACCESS read-only STATUS current DESCRIPTION "The status of this entry.
-
Constructor Summary
Constructors Constructor Description BridgeForwardingTableEntry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BridgeMacLinkcreate(BridgePort bp, java.lang.String macAddress, BridgeMacLink.BridgeMacLinkType type)static java.util.List<BridgeMacLink>create(BridgePort bp, java.util.Set<java.lang.String> macs, BridgeMacLink.BridgeMacLinkType type)static java.util.List<BridgeBridgeLink>create(BridgePort designatedPort, java.util.Set<BridgePort> ports)static java.util.List<BridgeMacLink>create(BridgePortWithMacs bft, BridgeMacLink.BridgeMacLinkType type)booleanequals(java.lang.Object o)static java.util.Set<BridgeForwardingTableEntry>get(BridgePortWithMacs bft)BridgeForwardingTableEntry.BridgeDot1qTpFdbStatusgetBridgeDot1qTpFdbStatus()java.lang.IntegergetBridgePort()java.lang.IntegergetBridgePortIfIndex()java.lang.StringgetMacAddress()java.lang.IntegergetNodeId()java.lang.IntegergetVlan()inthashCode()java.lang.StringprintTopology()static java.lang.StringprintTopology(java.util.Set<BridgeForwardingTableEntry> bft)voidsetBridgeDot1qTpFdbStatus(BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus status)voidsetBridgePort(java.lang.Integer bridgePort)voidsetBridgePortIfIndex(java.lang.Integer bridgePortIfIndex)voidsetMacAddress(java.lang.String macAddress)voidsetNodeId(java.lang.Integer node)voidsetVlan(java.lang.Integer vlan)
-
-
-
Method Detail
-
printTopology
public static java.lang.String printTopology(java.util.Set<BridgeForwardingTableEntry> bft)
-
create
public static java.util.List<BridgeMacLink> create(BridgePortWithMacs bft, BridgeMacLink.BridgeMacLinkType type)
-
create
public static java.util.List<BridgeMacLink> create(BridgePort bp, java.util.Set<java.lang.String> macs, BridgeMacLink.BridgeMacLinkType type)
-
create
public static BridgeMacLink create(BridgePort bp, java.lang.String macAddress, BridgeMacLink.BridgeMacLinkType type)
-
create
public static java.util.List<BridgeBridgeLink> create(BridgePort designatedPort, java.util.Set<BridgePort> ports)
-
get
public static java.util.Set<BridgeForwardingTableEntry> get(BridgePortWithMacs bft)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getNodeId
public java.lang.Integer getNodeId()
-
setNodeId
public void setNodeId(java.lang.Integer node)
-
getBridgePort
public java.lang.Integer getBridgePort()
-
setBridgePort
public void setBridgePort(java.lang.Integer bridgePort)
-
getBridgePortIfIndex
public java.lang.Integer getBridgePortIfIndex()
-
setBridgePortIfIndex
public void setBridgePortIfIndex(java.lang.Integer bridgePortIfIndex)
-
getMacAddress
public java.lang.String getMacAddress()
-
setMacAddress
public void setMacAddress(java.lang.String macAddress)
-
getVlan
public java.lang.Integer getVlan()
-
setVlan
public void setVlan(java.lang.Integer vlan)
-
getBridgeDot1qTpFdbStatus
public BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus getBridgeDot1qTpFdbStatus()
-
setBridgeDot1qTpFdbStatus
public void setBridgeDot1qTpFdbStatus(BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus status)
-
printTopology
public java.lang.String printTopology()
- Specified by:
printTopologyin interfaceTopology
-
-