public enum BGPError extends Enum<BGPError>
| Enum Constant and Description | 
|---|
| ADMINISTRATIVE_RESTARTAdministrative Reset. | 
| ADMINISTRATIVE_SHUTDOWNAdministrative Shutdown. | 
| AS_PATH_MALFORMEDMalformed AS_PATH. | 
| ATTR_FLAGS_MISSINGAttribute Flags Error. | 
| ATTR_LENGTH_ERRORAttribute Length Error. | 
| BAD_BGP_IDBad BGP Identifier. | 
| BAD_MSG_LENGTHBad Message Length. | 
| BAD_MSG_TYPEBad Message Type. | 
| BAD_PEER_ASBad Peer AS. | 
| CEASECease. | 
| CONNECTION_COLLISION_RESOLUTIONConnection Collision Resolution. | 
| CONNECTION_NOT_SYNCConnection Not Synchronized. | 
| CONNECTION_REJECTEDConnection Rejected. | 
| FSM_ERRORFinite State Machine Error. | 
| HOLD_TIME_NOT_ACCUnacceptable Hold Time. | 
| HOLD_TIMER_EXPIREDHold Timer Expired. | 
| MALFORMED_ATTR_LISTMalformed Attribute List. | 
| MAX_NUMBER_OF_PREFIXES_REACHEDMaximum Number of Prefixes Reached. | 
| NETWORK_NOT_VALIDInvalid Network Field. | 
| NEXT_HOP_NOT_VALIDInvalid NEXT_HOP Attribute. | 
| OPT_ATTR_ERROROptional Attribute Error. | 
| OPT_PARAM_NOT_SUPPORTEDUnsupported Optional Parameter. | 
| ORIGIN_ATTR_NOT_VALIDInvalid ORIGIN Attribute. | 
| OTHER_CONFIGURATION_CHANGEOther Configuration Change. | 
| OUT_OF_RESOURCESOut of Resources. | 
| PEER_DECONFIGUREDPeer De-configured. | 
| UNSPECIFIC_OPEN_ERRORUnspecific Open Message error. | 
| UNSUPPORTED_CAPABILITYUnsupported Capability 2/7 | 
| VERSION_NOT_SUPPORTEDUnsupported Version Number. | 
| WELL_KNOWN_ATTR_MISSINGMissing Well-known Attribute. | 
| WELL_KNOWN_ATTR_NOT_RECOGNIZEDUnrecognized 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.