2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.protocol.pcep.spi;
11 * Possible errors listed in RFC5440, RFC 5455 and stateful draft.
13 * @see <a href="http://tools.ietf.org/html/rfc5440#section-9.12">PCEP-ERROR Object(RFC5440)</a>, <a href=
14 * "http://tools.ietf.org/html/draft-ietf-pce-stateful-pce-07#section-8.4" >PCEP-ERROR Object(stateful draft)</a>,
15 * <a href="http://tools.ietf.org/html/rfc5455#section-3.6">Error Codes for CLASSTYPE Object(RFC5455)</a>, <a href=
16 * "http://www.ietf.org/id/draft-crabbe-pce-pce-initiated-lsp-00.txt#section-7.1" >PCEP-Error Object</a>
18 public enum PCEPErrors {
20 * Reception of an invalid Open message or a non Open message.
22 NON_OR_INVALID_OPEN_MSG,
24 * No Open message received before the expiration of the OpenWait timer.
26 NO_OPEN_BEFORE_EXP_OPENWAIT,
28 * Unacceptable and non-negotiable session characteristics.
30 NON_ACC_NON_NEG_SESSION_CHAR,
32 * Unacceptable but negotiable session characteristics.
34 NON_ACC_NEG_SESSION_CHAR,
36 * Reception of a second Open message with still unacceptable session characteristics.
40 * Reception of a PCErr message proposing unacceptable session characteristics.
42 PCERR_NON_ACC_SESSION_CHAR,
44 * No Keepalive or PCErr message received before the expiration of the KeepWait timer.
46 NO_MSG_BEFORE_EXP_KEEPWAIT,
48 * Capability not supported.
50 CAPABILITY_NOT_SUPPORTED,
52 * PCEP version not supported.
54 PCEP_VERSION_NOT_SUPPORTED,
56 * Unrecognized object class.
58 UNRECOGNIZED_OBJ_CLASS,
60 * Unrecognized object Type.
62 UNRECOGNIZED_OBJ_TYPE,
64 * Not supported object class.
66 NOT_SUPPORTED_OBJ_CLASS,
68 * Not supported object Type.
70 NOT_SUPPORTED_OBJ_TYPE,
72 * C bit of the METRIC object set (request rejected).
76 * O bit of the RP object cleared (request rejected).
80 * Objective function not allowed (request rejected)
84 * OF bit of the RP object set (request rejected)
88 * Global concurrent optimization not allowed (GCO extension)
92 * P2MP Path computation is not allowed
94 P2MP_COMPUTATION_NOT_ALLOWED,
100 * RRO missing for a reoptimization request (R bit of the RP object set).
104 * END-POINTS object missing
108 * LSP cleanup TLV missing
110 LSP_CLEANUP_TLV_MISSING,
112 * SYMBOLIC-PATH-NAME TLV missing
114 SYMBOLIC_PATH_NAME_MISSING,
116 * Synchronized path computation request missing.
118 SYNC_PATH_COMP_REQ_MISSING,
120 * Unknown request reference
124 * Attempt to establish a second PCEP session.
128 * LSP Object missing.
132 * ERO Object missing for a path in an LSP Update Request where TE-LSP setup is requested.
136 * Srp Object missing for a path in an LSP Update Request where TE-LSP setup is requested.
140 * LSP-IDENTIFIERS TLV missing for a path in an LSP Update Request where TE-LSP setup is requested.
142 LSP_IDENTIFIERS_TLV_MISSING,
144 * Reception of an object with P flag not set although the P flag must be set according to this specification.
148 * Insufficient memory (GCO extension)
152 * Global concurrent optimization not supported (GCO extension)
156 * Diffserv-aware TE error: Unsupported Class-Type.
160 * Diffserv-aware TE error: Invalid Class-Type.
164 * Diffserv-aware TE error: Class-Type and setup priority do not form a configured TE-class.
166 CT_AND_SETUP_PRIORITY_DO_NOT_FORM_TE_CLASS,
169 * The PCE cannot satisfy the request due to insufficient memory
171 CANNOT_SATISFY_P2MP_REQUEST_DUE_TO_INSUFFISIENT_MEMMORY,
173 * The PCE is not capable of P2MP computation
175 NOT_CAPPABLE_P2MP_COMPUTATION,
177 * The PCE is not capable to satisfy the request due to no END-POINTS with leaf type 2
179 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_LT2,
181 * The PCE is not capable to satisfy the request due to no END-POINTS with leaf type 3
183 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_LT3,
185 * The PCE is not capable to satisfy the request due to no END-POINTS with leaf type 4
187 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_LT4,
189 * The PCE is not capable to satisfy the request due to inconsistent END-POINTS
191 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_INCONSISTENT_EP,
193 * P2MP Fragmented request failure
195 P2MP_FRAGMENTATION_FAILRUE,
197 * Attempted LSP Update Request for a non- delegated LSP. The PCEP-ERROR Object is followed by the LSP Object that
198 * identifies the LSP.
200 UPDATE_REQ_FOR_NON_LSP,
202 * Attempted LSP Update Request if active stateful PCE capability was not negotiated active PCE.
204 UPDATE_REQ_FOR_NO_STATEFUL,
206 * Attempted LSP Update Request for an LSP identified by an unknown PLSP-ID.
210 * A PCE indicates to a PCC that it has exceeded the resource limit allocated for its state, and thus it cannot
211 * accept and process its LSP State Report message.
213 RESOURCE_LIMIT_EXCEEDED,
215 * PCE-initiated LSP limit reached
219 * Delegation for PCE-initiated LSP cannot be revoked
221 DELEGATION_NON_REVOKABLE,
223 * Non-zero PLSP-ID in LSP initiation request
227 * A PCE indicates to a PCC that it can not process (an otherwise valid) LSP State Report. The PCEP-ERROR Object is
228 * followed by the LSP Object that identifies the LSP.
230 CANNOT_PROCESS_STATE_REPORT,
232 * LSP Database version mismatch.
234 LSP_DB_VERSION_MISMATCH,
236 * The LSP-DB-VERSION TLV Missing when State Synchronization Avoidance enabled.
238 DB_VERSION_TLV_MISSING_WHEN_SYNC_ALLOWED,
240 * A PCC indicates to a PCE that it can not complete the state synchronization,
242 CANNOT_COMPLETE_STATE_SYNC,
244 * SYMBOLIC-PATH-NAME in use
246 USED_SYMBOLIC_PATH_NAME,
248 * LSP instantiation error: Unacceptable instantiation parameters
250 LSP_UNACC_INST_PARAMS,
252 * LSP instantiation error: Internal error
256 * LSP instantiation error: RSVP signaling error