Class SrLinkAttributesParser


  • public final class SrLinkAttributesParser
    extends Object
    • Method Detail

      • parseAdjacencySegmentIdentifier

        public static SrAdjIds parseAdjacencySegmentIdentifier​(io.netty.buffer.ByteBuf buffer,
                                                               ProtocolId protocolId)
      • parseEpeAdjacencySegmentIdentifier

        public static EpeAdjSidTlv parseEpeAdjacencySegmentIdentifier​(io.netty.buffer.ByteBuf buffer)
      • parseLanAdjacencySegmentIdentifier

        public static SrLanAdjIds parseLanAdjacencySegmentIdentifier​(io.netty.buffer.ByteBuf buffer,
                                                                     ProtocolId protocolId)
      • serializeAdjacencySegmentIdentifiers

        public static <T extends EpeAdjSidTlv> void serializeAdjacencySegmentIdentifiers​(List<T> adjSids,
                                                                                         int type,
                                                                                         io.netty.buffer.ByteBuf byteAggregator)
      • serializeAdjacencySegmentIdentifier

        public static <T extends EpeAdjSidTlv> io.netty.buffer.ByteBuf serializeAdjacencySegmentIdentifier​(T adjSid)
      • serializeLanAdjacencySegmentIdentifiers

        public static void serializeLanAdjacencySegmentIdentifiers​(List<SrLanAdjIds> srLanAdjIds,
                                                                   io.netty.buffer.ByteBuf byteAggregator)
      • serializeLanAdjacencySegmentIdentifier

        public static io.netty.buffer.ByteBuf serializeLanAdjacencySegmentIdentifier​(SrLanAdjIds srLanAdjId)