Class Ipv4NlriParser

java.lang.Object
org.opendaylight.protocol.bgp.inet.codec.Ipv4NlriParser
All Implemented Interfaces:
NlriParser, NlriSerializer

public final class Ipv4NlriParser extends Object implements NlriParser, NlriSerializer
  • Constructor Details

    • Ipv4NlriParser

      public Ipv4NlriParser()
  • Method Details

    • parseNlri

      public void parseNlri(io.netty.buffer.ByteBuf nlri, MpReachNlriBuilder builder, PeerSpecificParserConstraint constraint)
      Description copied from interface: NlriParser
      Parse MP UN_REACH NLRI from buffer.
      Specified by:
      parseNlri in interface NlriParser
      Parameters:
      nlri - Encoded reachable NLRI in ByteBuf.
      builder - MP REACH NLRI builder.
      constraint - Peer specific constraints.
    • parseNlri

      public void parseNlri(io.netty.buffer.ByteBuf nlri, MpUnreachNlriBuilder builder, PeerSpecificParserConstraint constraint)
      Description copied from interface: NlriParser
      Parse MP UN_REACH NLRI from buffer.
      Specified by:
      parseNlri in interface NlriParser
      Parameters:
      nlri - Encoded unreachable NLRI in ByteBuf.
      builder - MP UNREACH NLRI builder.
      constraint - Peer specific constraints.
    • serializeAttribute

      public void serializeAttribute(Attributes pathAttributes, io.netty.buffer.ByteBuf byteAggregator)
      Specified by:
      serializeAttribute in interface NlriSerializer