Class MessagesUtil
- java.lang.Object
-
- org.opendaylight.bgpcep.pcep.server.provider.MessagesUtil
-
public final class MessagesUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intIGP_METRICstatic byteNO_PATHstatic intPATH_DELAYstatic intTE_METRICstatic byteUNKNOWN_DESTINATIONstatic byteUNKNOWN_SOURCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PcerrcreateErrorMsg(@NonNull PCEPErrors pcepErrors, org.opendaylight.yangtools.yang.common.Uint32 reqID)static PcrepcreateNoPathMessage(Rp rp, byte reason)static PcrepcreatePcRepMessage(Rp rp, P2p p2p, ConstrainedPath cpath)static ErogetEro(List<PathDescription> pathDescriptions)
-
-
-
Field Detail
-
NO_PATH
public static final byte NO_PATH
- See Also:
- Constant Field Values
-
UNKNOWN_SOURCE
public static final byte UNKNOWN_SOURCE
- See Also:
- Constant Field Values
-
UNKNOWN_DESTINATION
public static final byte UNKNOWN_DESTINATION
- See Also:
- Constant Field Values
-
IGP_METRIC
public static final int IGP_METRIC
- See Also:
- Constant Field Values
-
TE_METRIC
public static final int TE_METRIC
- See Also:
- Constant Field Values
-
PATH_DELAY
public static final int PATH_DELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEro
public static Ero getEro(List<PathDescription> pathDescriptions)
-
createPcRepMessage
public static Pcrep createPcRepMessage(Rp rp, P2p p2p, ConstrainedPath cpath)
-
createErrorMsg
public static Pcerr createErrorMsg(@NonNull PCEPErrors pcepErrors, org.opendaylight.yangtools.yang.common.Uint32 reqID)
-
-