Enum Class BGPError
- All Implemented Interfaces:
Serializable
,Comparable<BGPError>
,Constable
Possible errors from implemented RFCs and drafts. Each error consists of error code and error subcode
(code/subcode in comments).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdministrative Reset.Administrative Shutdown.Malformed AS_PATH.Attribute Flags Error.Attribute Length Error.Bad BGP Identifier.Bad Message Length.Bad Message Type.Bad Peer AS.Cease.Connection Collision Resolution.Connection Not Synchronized.Connection Rejected.Finite State Machine Error.Unacceptable Hold Time.Hold Timer Expired.Malformed Attribute List.Maximum Number of Prefixes Reached.Invalid Network Field.Invalid NEXT_HOP Attribute.Optional Attribute Error.Unsupported Optional Parameter.Invalid ORIGIN Attribute.Other Configuration Change.Out of Resources.Peer De-configured.Unspecific header error.Unspecific Open Message error, Errata 4493.Unspecific UPDATE error.Unsupported Capability.Unsupported Version Number.Missing Well-known Attribute.Unrecognized Well-known Attribute. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BGPError
forValue
(org.opendaylight.yangtools.yang.common.Uint8 code, org.opendaylight.yangtools.yang.common.Uint8 subcode) @NonNull org.opendaylight.yangtools.yang.common.Uint8
getCode()
@NonNull org.opendaylight.yangtools.yang.common.Uint8
static BGPError
Returns the enum constant of this class with the specified name.static BGPError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIC_HEADER_ERROR
Unspecific header error. 1/0, Errata 4493. -
CONNECTION_NOT_SYNC
Connection Not Synchronized. 1/1 -
BAD_MSG_LENGTH
Bad Message Length. 1/2 -
BAD_MSG_TYPE
Bad Message Type. 1/3 -
UNSPECIFIC_OPEN_ERROR
Unspecific Open Message error, Errata 4493. -
VERSION_NOT_SUPPORTED
Unsupported Version Number. 2/1 -
BAD_PEER_AS
Bad Peer AS. 2/2 -
BAD_BGP_ID
Bad BGP Identifier. 2/3 -
OPT_PARAM_NOT_SUPPORTED
Unsupported Optional Parameter. 2/4 -
HOLD_TIME_NOT_ACC
Unacceptable Hold Time. 2/6 -
UNSPECIFIC_UPDATE_ERROR
Unspecific UPDATE error. 3/0, Errata 4493. -
MALFORMED_ATTR_LIST
Malformed Attribute List. 3/1 -
WELL_KNOWN_ATTR_NOT_RECOGNIZED
Unrecognized Well-known Attribute. 3/2 -
WELL_KNOWN_ATTR_MISSING
Missing Well-known Attribute. 3/3 -
ATTR_FLAGS_MISSING
Attribute Flags Error. 3/4 -
ATTR_LENGTH_ERROR
Attribute Length Error. 3/5 -
ORIGIN_ATTR_NOT_VALID
Invalid ORIGIN Attribute. 3/6 -
NEXT_HOP_NOT_VALID
Invalid NEXT_HOP Attribute. 3/8 -
OPT_ATTR_ERROR
Optional Attribute Error. 3/9 -
NETWORK_NOT_VALID
Invalid Network Field. 3/10 -
AS_PATH_MALFORMED
Malformed AS_PATH. 3/11 -
HOLD_TIMER_EXPIRED
Hold Timer Expired. 4/0 -
FSM_ERROR
Finite State Machine Error. 5/0 -
CEASE
Cease. 6/0 -
MAX_NUMBER_OF_PREFIXES_REACHED
Maximum Number of Prefixes Reached. 6/1 -
ADMINISTRATIVE_SHUTDOWN
Administrative Shutdown. 6/2 -
PEER_DECONFIGURED
Peer De-configured. 6/3 -
ADMINISTRATIVE_RESTART
Administrative Reset. 6/4 -
CONNECTION_REJECTED
Connection Rejected. 6/5 -
OTHER_CONFIGURATION_CHANGE
Other Configuration Change. 6/6 -
CONNECTION_COLLISION_RESOLUTION
Connection Collision Resolution. 6/7 -
OUT_OF_RESOURCES
Out of Resources. 6/8 -
UNSUPPORTED_CAPABILITY
Unsupported Capability. 2/7
-
-
Field Details
-
MANDATORY_ATTR_MISSING_MSG
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forValue
public static BGPError forValue(org.opendaylight.yangtools.yang.common.Uint8 code, org.opendaylight.yangtools.yang.common.Uint8 subcode) -
getCode
public @NonNull org.opendaylight.yangtools.yang.common.Uint8 getCode() -
getSubcode
public @NonNull org.opendaylight.yangtools.yang.common.Uint8 getSubcode()
-