import java.util.HashMap;
import java.util.Map;
import java.util.NoSuchElementException;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
this.fillIn(new PCEPErrorIdentifier((short) 10, (short) 1), PCEPErrors.P_FLAG_NOT_SET);
+ /* Segment Routing errors
+ https://tools.ietf.org/html/draft-sivabalan-pce-segment-routing-02#section-9.2 */
+ this.fillIn(new PCEPErrorIdentifier((short) 10, (short) 2), PCEPErrors.BAD_LABEL_VALUE);
+ this.fillIn(new PCEPErrorIdentifier((short) 10, (short) 5), PCEPErrors.NON_IDENTICAL_ERO_SUBOBJECTS);
+
this.fillIn(new PCEPErrorIdentifier((short) 12, (short) 1), PCEPErrors.UNSUPPORTED_CT);
this.fillIn(new PCEPErrorIdentifier((short) 12, (short) 2), PCEPErrors.INVALID_CT);
this.fillIn(new PCEPErrorIdentifier((short) 12, (short) 3), PCEPErrors.CT_AND_SETUP_PRIORITY_DO_NOT_FORM_TE_CLASS);
/**
* LSP instantiation error: RSVP signaling error
*/
- LSP_RSVP_ERROR
+ LSP_RSVP_ERROR,
+ /**
+ * Segment Routing error: Non-identical ERO subobjects
+ */
+ NON_IDENTICAL_ERO_SUBOBJECTS,
+ /**
+ * Segment Routing error: ERO subobject with invalid SID value;
+ * */
+ BAD_LABEL_VALUE,
}