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 * LSP-DB-VERSION TLV missing.
146 DB_VERSION_TLV_MISSING,
148 * Reception of an object with P flag not set although the P flag must be set according to this specification.
152 * Insufficient memory (GCO extension)
156 * Global concurrent optimization not supported (GCO extension)
160 * Diffserv-aware TE error: Unsupported Class-Type.
164 * Diffserv-aware TE error: Invalid Class-Type.
168 * Diffserv-aware TE error: Class-Type and setup priority do not form a configured TE-class.
170 CT_AND_SETUP_PRIORITY_DO_NOT_FORM_TE_CLASS,
173 * The PCE cannot satisfy the request due to insufficient memory
175 CANNOT_SATISFY_P2MP_REQUEST_DUE_TO_INSUFFISIENT_MEMMORY,
177 * The PCE is not capable of P2MP computation
179 NOT_CAPPABLE_P2MP_COMPUTATION,
181 * The PCE is not capable to satisfy the request due to no END-POINTS with leaf type 2
183 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_LT2,
185 * The PCE is not capable to satisfy the request due to no END-POINTS with leaf type 3
187 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_LT3,
189 * The PCE is not capable to satisfy the request due to no END-POINTS with leaf type 4
191 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_LT4,
193 * The PCE is not capable to satisfy the request due to inconsistent END-POINTS
195 P2MP_NOT_CAPPABLE_SATISFY_REQ_DUE_INCONSISTENT_EP,
197 * P2MP Fragmented request failure
199 P2MP_FRAGMENTATION_FAILRUE,
201 * Attempted LSP Update Request for a non- delegated LSP. The PCEP-ERROR Object is followed by the LSP Object that
202 * identifies the LSP.
204 UPDATE_REQ_FOR_NON_LSP,
206 * Attempted LSP Update Request if active stateful PCE capability was not negotiated active PCE.
208 UPDATE_REQ_FOR_NO_STATEFUL,
210 * Attempted LSP Update Request for an LSP identified by an unknown PLSP-ID.
214 * A PCE indicates to a PCC that it has exceeded the resource limit allocated for its state, and thus it cannot
215 * accept and process its LSP State Report message.
219 * A PCE indicates to a PCC that it can not process (an otherwise valid) LSP State Report. The PCEP-ERROR Object is
220 * followed by the LSP Object that identifies the LSP.
222 CANNOT_PROCESS_STATE_REPORT,
224 * LSP Database version mismatch.
226 LSP_DB_VERSION_MISMATCH,
228 * The LSP-DB-VERSION TLV Missing when State Synchronization Avoidance enabled.
230 DB_VERSION_TLV_MISSING_WHEN_SYNC_ALLOWED,
232 * A PCC indicates to a PCE that it can not complete the state synchronization,
234 CANNOT_COMPLETE_STATE_SYNC,
236 * SYMBOLIC-PATH-NAME in use
238 USED_SYMBOLIC_PATH_NAME