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 int
IGP_METRIC
static byte
NO_PATH
static int
PATH_DELAY
static int
TE_METRIC
static byte
UNKNOWN_DESTINATION
static byte
UNKNOWN_SOURCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pcerr
createErrorMsg(@NonNull PCEPErrors pcepErrors, org.opendaylight.yangtools.yang.common.Uint32 reqID)
static Pcrep
createNoPathMessage(Rp rp, byte reason)
static Pcrep
createPcRepMessage(Rp rp, P2p p2p, ConstrainedPath cpath)
static Ero
getEro(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)
-
-