es.tid.pce.pcep.messages.PCEPRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of network-protocols Show documentation
Show all versions of network-protocols Show documentation
BGP-LS,OSPF-TE,PCEP and RSVP-TE protocol encodings.
The newest version!
package es.tid.pce.pcep.messages;
import java.util.LinkedList;
import es.tid.pce.pcep.PCEPProtocolViolationException;
import es.tid.pce.pcep.constructs.Request;
import es.tid.pce.pcep.constructs.SVECConstruct;
import es.tid.pce.pcep.objects.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* PCEP Request Message (RFC 5440, RFC 5541, RFC 5886, and RFC 5521).
*
* From RFC 5440 Section 6.4:
* 6.4. Path Computation Request (PCReq) Message
*
*
* A Path Computation Request message (also referred to as a PCReq
* message) is a PCEP message sent by a PCC to a PCE to request a path
* computation. A PCReq message may carry more than one path
* computation request. The Message-Type field of the PCEP common
* header for the PCReq message is set to 3.
*
* There are two mandatory objects that MUST be included within a PCReq
* message: the RP and the END-POINTS objects (see Section 7). If one
* or both of these objects is missing, the receiving PCE MUST send an
* error message to the requesting PCC. Other objects are optional.
*
* The format of a PCReq message is as follows:
*{@code
* ::=
* []
* []
* []
*
*
* where:
*
* ::=
[]
[]
[]
* ::=[]
*
* ::=