public enum BGPError extends Enum<BGPError>
Enum Constant and Description |
---|
ADMINISTRATIVE_RESTART
Administrative Reset.
|
ADMINISTRATIVE_SHUTDOWN
Administrative Shutdown.
|
AS_PATH_MALFORMED
Malformed AS_PATH.
|
ATTR_FLAGS_MISSING
Attribute Flags Error.
|
ATTR_LENGTH_ERROR
Attribute Length Error.
|
BAD_BGP_ID
Bad BGP Identifier.
|
BAD_MSG_LENGTH
Bad Message Length.
|
BAD_MSG_TYPE
Bad Message Type.
|
BAD_PEER_AS
Bad Peer AS.
|
CEASE
Cease.
|
CONNECTION_COLLISION_RESOLUTION
Connection Collision Resolution.
|
CONNECTION_NOT_SYNC
Connection Not Synchronized.
|
CONNECTION_REJECTED
Connection Rejected.
|
FSM_ERROR
Finite State Machine Error.
|
HOLD_TIME_NOT_ACC
Unacceptable Hold Time.
|
HOLD_TIMER_EXPIRED
Hold Timer Expired.
|
MALFORMED_ATTR_LIST
Malformed Attribute List.
|
MAX_NUMBER_OF_PREFIXES_REACHED
Maximum Number of Prefixes Reached.
|
NETWORK_NOT_VALID
Invalid Network Field.
|
NEXT_HOP_NOT_VALID
Invalid NEXT_HOP Attribute.
|
OPT_ATTR_ERROR
Optional Attribute Error.
|
OPT_PARAM_NOT_SUPPORTED
Unsupported Optional Parameter.
|
ORIGIN_ATTR_NOT_VALID
Invalid ORIGIN Attribute.
|
OTHER_CONFIGURATION_CHANGE
Other Configuration Change.
|
OUT_OF_RESOURCES
Out of Resources.
|
PEER_DECONFIGURED
Peer De-configured.
|
UNSPECIFIC_OPEN_ERROR
Unspecific Open Message error.
|
UNSUPPORTED_CAPABILITY
Unsupported Capability 2/7
|
VERSION_NOT_SUPPORTED
Unsupported Version Number.
|
WELL_KNOWN_ATTR_MISSING
Missing Well-known Attribute.
|
WELL_KNOWN_ATTR_NOT_RECOGNIZED
Unrecognized Well-known Attribute.
|
Modifier and Type | Field and Description |
---|---|
static String |
MANDATORY_ATTR_MISSING_MSG |
Modifier and Type | Method and Description |
---|---|
static BGPError |
forValue(int code,
int subcode) |
short |
getCode() |
short |
getSubcode() |
static BGPError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BGPError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BGPError CONNECTION_NOT_SYNC
public static final BGPError BAD_MSG_LENGTH
public static final BGPError BAD_MSG_TYPE
public static final BGPError UNSPECIFIC_OPEN_ERROR
public static final BGPError VERSION_NOT_SUPPORTED
public static final BGPError BAD_PEER_AS
public static final BGPError BAD_BGP_ID
public static final BGPError OPT_PARAM_NOT_SUPPORTED
public static final BGPError HOLD_TIME_NOT_ACC
public static final BGPError MALFORMED_ATTR_LIST
public static final BGPError WELL_KNOWN_ATTR_NOT_RECOGNIZED
public static final BGPError WELL_KNOWN_ATTR_MISSING
public static final BGPError ATTR_FLAGS_MISSING
public static final BGPError ATTR_LENGTH_ERROR
public static final BGPError ORIGIN_ATTR_NOT_VALID
public static final BGPError NEXT_HOP_NOT_VALID
public static final BGPError OPT_ATTR_ERROR
public static final BGPError NETWORK_NOT_VALID
public static final BGPError AS_PATH_MALFORMED
public static final BGPError HOLD_TIMER_EXPIRED
public static final BGPError FSM_ERROR
public static final BGPError CEASE
public static final BGPError MAX_NUMBER_OF_PREFIXES_REACHED
public static final BGPError ADMINISTRATIVE_SHUTDOWN
public static final BGPError PEER_DECONFIGURED
public static final BGPError ADMINISTRATIVE_RESTART
public static final BGPError CONNECTION_REJECTED
public static final BGPError OTHER_CONFIGURATION_CHANGE
public static final BGPError CONNECTION_COLLISION_RESOLUTION
public static final BGPError OUT_OF_RESOURCES
public static final BGPError UNSUPPORTED_CAPABILITY
public static final String MANDATORY_ATTR_MISSING_MSG
public static BGPError[] values()
for (BGPError c : BGPError.values()) System.out.println(c);
public static BGPError valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic short getCode()
public short getSubcode()
public static BGPError forValue(int code, int subcode)
Copyright © 2018 OpenDaylight. All rights reserved.