Class MsgBuilderUtil


  • public final class MsgBuilderUtil
    extends Object
    • Method Detail

      • createLsp

        public static Lsp createLsp​(org.opendaylight.yangtools.yang.common.Uint32 plspId,
                                    boolean sync,
                                    Optional<Tlvs> tlvs,
                                    boolean isDelegatedLsp,
                                    boolean remove)
      • createLsp

        public static Lsp createLsp​(org.opendaylight.yangtools.yang.common.Uint32 plspId,
                                    boolean sync,
                                    Optional<Tlvs> tlvs,
                                    boolean isDelegatedLspe)
      • createSrp

        public static Srp createSrp​(org.opendaylight.yangtools.yang.common.Uint32 srpId)
      • updToRptPath

        public static Path updToRptPath​(Path path)
      • reqToRptPath

        public static Path reqToRptPath​(Requests request)
      • createLspTlvs

        public static Tlvs createLspTlvs​(org.opendaylight.yangtools.yang.common.Uint32 lspId,
                                         boolean symbolicPathName,
                                         String tunnelEndpoint,
                                         String tunnelSender,
                                         String extendedTunnelAddress,
                                         Optional<byte[]> symbolicName)
      • createLspTlvs

        public 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

        public static Optional<Tlvs> createLspTlvsEndofSync​(@NonNull org.opendaylight.yangtools.yang.common.Uint64 dbVersion)
      • createErrorMsg

        public static Pcerr createErrorMsg​(@NonNull PCEPErrors pcepErrors,
                                           org.opendaylight.yangtools.yang.common.Uint32 srpId)
      • createErrorMsg

        public static Pcerr createErrorMsg​(@NonNull PCEPErrors pcepErrors,
                                           long srpId)
      • getDefaultPathName

        public static byte[] getDefaultPathName​(String address,
                                                org.opendaylight.yangtools.yang.common.Uint32 lspId)