Enum BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus
- java.lang.Object
-
- java.lang.Enum<BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus>
-
- org.opennms.netmgt.enlinkd.service.api.BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus>
- Enclosing class:
- BridgeForwardingTableEntry
public static enum BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus extends java.lang.Enum<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. The meanings of the values are: other(1) - none of the following. This may include the case where some other MIB object (not the corresponding instance of dot1qTpFdbPort, nor an entry in the dot1qStaticUnicastTable) is being used to determine if and how frames addressed to the value of the corresponding instance of dot1qTpFdbAddress are being forwarded. invalid(2) - this entry is no longer valid (e.g., it was learned but has since aged out), but has not yet been flushed from the table. learned(3) - the value of the corresponding instance of dot1qTpFdbPort was learned and is being used. self(4) - the value of the corresponding instance of dot1qTpFdbAddress represents one of the device's addresses. The corresponding instance of dot1qTpFdbPort indicates which of the device's ports has this address. mgmt(5) - the value of the corresponding instance of dot1qTpFdbAddress is also the value of an existing instance of dot1qStaticAddress."
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOT1D_TP_FDB_STATUS_INVALID
DOT1D_TP_FDB_STATUS_LEARNED
DOT1D_TP_FDB_STATUS_MGMT
DOT1D_TP_FDB_STATUS_OTHER
DOT1D_TP_FDB_STATUS_SELF
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Map<java.lang.Integer,java.lang.String>
s_typeMap
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus
get(java.lang.Integer code)
static java.lang.String
getTypeString(java.lang.Integer code)
java.lang.Integer
getValue()
static BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOT1D_TP_FDB_STATUS_OTHER
public static final BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus DOT1D_TP_FDB_STATUS_OTHER
-
DOT1D_TP_FDB_STATUS_INVALID
public static final BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus DOT1D_TP_FDB_STATUS_INVALID
-
DOT1D_TP_FDB_STATUS_LEARNED
public static final BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus DOT1D_TP_FDB_STATUS_LEARNED
-
DOT1D_TP_FDB_STATUS_SELF
public static final BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus DOT1D_TP_FDB_STATUS_SELF
-
DOT1D_TP_FDB_STATUS_MGMT
public static final BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus DOT1D_TP_FDB_STATUS_MGMT
-
-
Method Detail
-
values
public static BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus c : BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getTypeString
public static java.lang.String getTypeString(java.lang.Integer code)
-
getValue
public java.lang.Integer getValue()
-
get
public static BridgeForwardingTableEntry.BridgeDot1qTpFdbStatus get(java.lang.Integer code)
-
-