Class MsgBuilderUtil
java.lang.Object
org.opendaylight.protocol.pcep.pcc.mock.spi.MsgBuilderUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic Pcerr
createErrorMsg
(@NonNull PCEPErrors pcepErrors, long srpId) static Pcerr
createErrorMsg
(@NonNull PCEPErrors pcepErrors, org.opendaylight.yangtools.yang.common.Uint32 srpId) static Lsp
createLsp
(org.opendaylight.yangtools.yang.common.Uint32 plspId, boolean sync, Optional<Tlvs> tlvs, boolean isDelegatedLspe) static Lsp
createLsp
(org.opendaylight.yangtools.yang.common.Uint32 plspId, boolean sync, Optional<Tlvs> tlvs, boolean isDelegatedLsp, boolean remove) static Tlvs
createLspTlvs
(org.opendaylight.yangtools.yang.common.Uint32 lspId, boolean symbolicPathName, String tunnelEndpoint, String tunnelSender, String extendedTunnelAddress, Optional<byte[]> symbolicName) static Tlvs
createLspTlvs
(org.opendaylight.yangtools.yang.common.Uint32 lspId, boolean symbolicPathName, String tunnelEndpoint, String tunnelSender, String extendedTunnelAddress, Optional<byte[]> symbolicName, Optional<org.opendaylight.yangtools.yang.common.Uint64> lspDBVersion) createLspTlvsEndofSync
(@NonNull org.opendaylight.yangtools.yang.common.Uint64 dbVersion) static Path
createPath
(List<Subobject> subobjects) static Pcrpt
createPcRtpMessage
(Lsp lsp, Optional<Srp> srp, Path path) static Srp
createSrp
(org.opendaylight.yangtools.yang.common.Uint32 srpId) static byte[]
getDefaultPathName
(String address, org.opendaylight.yangtools.yang.common.Uint32 lspId) static Path
reqToRptPath
(Requests request) static Path
updToRptPath
(Path path)
-
Method Details
-
createPcRtpMessage
-
createLsp
-
createLsp
-
createPath
-
createSrp
-
updToRptPath
-
reqToRptPath
-
createLspTlvs
-
createLspTlvs
-
createLspTlvsEndofSync
-
createErrorMsg
public static Pcerr createErrorMsg(@NonNull PCEPErrors pcepErrors, org.opendaylight.yangtools.yang.common.Uint32 srpId) -
createErrorMsg
-
getDefaultPathName
public static byte[] getDefaultPathName(String address, org.opendaylight.yangtools.yang.common.Uint32 lspId)
-