Bug-139 Added new PCEP error values 13/26213/3
authorMilos Fabian <milfabia@cisco.com>
Thu, 27 Aug 2015 10:31:11 +0000 (12:31 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 8 Sep 2015 12:48:34 +0000 (12:48 +0000)
new error values as defined in
https://tools.ietf.org/html/draft-ietf-pce-stateful-sync-optimizations-02#section-8.1

Change-Id: I251dde1407d43366f18903571820a87ecfe6b686
Signed-off-by: Milos Fabian <milfabia@cisco.com>
pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPErrors.java

index fa2a20f6ef7f58a9e4de99362edd0f1a538b85b3..d32aa7163c47bd32250085174d93b2349276ac2b 100644 (file)
@@ -328,7 +328,25 @@ public enum PCEPErrors {
     /**
      * LSP is not PCE-initiated
      */
-    LSP_NOT_PCE_INITIATED(19, 9);
+    LSP_NOT_PCE_INITIATED(19, 9),
+    /**
+     * LSP-DB-VERSION TLV missing
+     */
+    LSP_DB_VERSION_MISSING(6, 12),
+    /**
+     * Attempt to trigger a synchronization when the
+     * PCE triggered synchronization capability has not been advertised.
+     */
+    UNEXPECTED_SYNCHRONIZATION_ATTEMPT(20, 4),
+    /**
+     * No sufficient LSP change information for
+     * incremental LSP state synchronization.
+     */
+    NO_SUFFICIENT_LSP_CHANGE(20, 6),
+    /**
+     * Received an invalid LSP DB Version Number
+     */
+    INVALID_LSP_DB_VERSION(20, 7);
 
     private PCEPErrorIdentifier errorId;
     private static final Map<PCEPErrorIdentifier, PCEPErrors> VALUE_MAP;