Class BridgeForwardingTableEntry
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.service.api.BridgeForwardingTableEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus
dot1qTpFdbStatus 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 BridgeMacLink
create(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)
boolean
equals(java.lang.Object o)
static java.util.Set<BridgeForwardingTableEntry>
get(BridgePortWithMacs bft)
BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus
getBridgeDot1qTpFdbStatus()
java.lang.Integer
getBridgePort()
java.lang.Integer
getBridgePortIfIndex()
java.lang.String
getMacAddress()
java.lang.Integer
getNodeId()
java.lang.Integer
getVlan()
int
hashCode()
java.lang.String
printTopology()
static java.lang.String
printTopology(java.util.Set<BridgeForwardingTableEntry> bft)
void
setBridgeDot1qTpFdbStatus(BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus status)
void
setBridgePort(java.lang.Integer bridgePort)
void
setBridgePortIfIndex(java.lang.Integer bridgePortIfIndex)
void
setMacAddress(java.lang.String macAddress)
void
setNodeId(java.lang.Integer node)
void
setVlan(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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:
printTopology
in interfaceTopology
-
-